object frmMain: TfrmMain
  Left = 329
  Top = 386
  Width = 837
  Height = 544
  Caption = #35946#27743'BOM'#26597#35810#31995#32479
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  Menu = mmMain
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object spl1: TSplitter
    Left = 15
    Top = 29
    Width = 3
    Height = 442
    Cursor = crHSplit
  end
  object pnlTreeView: TPanel
    Left = 0
    Top = 29
    Width = 15
    Height = 442
    Align = alLeft
    Caption = 'pnlTreeView'
    TabOrder = 0
    object tvBomGroup: TTreeView
      Left = 1
      Top = 1
      Width = 13
      Height = 440
      Align = alClient
      Indent = 19
      TabOrder = 0
      OnClick = tvBomGroupClick
    end
  end
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 829
    Height = 29
    Caption = 'ToolBar1'
    EdgeBorders = [ebTop, ebRight]
    Images = ilMain
    TabOrder = 1
    object btnlink: TToolButton
      Left = 0
      Top = 2
      Hint = #36830#25509#26381#21153#22120
      Caption = 'btnlink'
      ImageIndex = 0
      ParentShowHint = False
      ShowHint = True
      OnClick = btnlinkClick
    end
    object btnStop: TToolButton
      Left = 23
      Top = 2
      Hint = #26029#24320#26381#21153#22120
      Caption = 'btnStop'
      ImageIndex = 1
      ParentShowHint = False
      ShowHint = True
      OnClick = btnStopClick
    end
    object btn1: TToolButton
      Left = 46
      Top = 2
      Width = 8
      Caption = 'btn1'
      ImageIndex = 2
      Style = tbsSeparator
    end
    object btnSearch: TToolButton
      Left = 54
      Top = 2
      Hint = #26597#35810#29289#26009#12289'BOM'
      Caption = 'btnSearch'
      ImageIndex = 2
      ParentShowHint = False
      ShowHint = True
      OnClick = btnSearchClick
    end
    object btnLibExist: TToolButton
      Left = 77
      Top = 2
      Hint = #26597#30475#21363#26102#24211#23384
      Caption = 'btnLibExist'
      ImageIndex = 10
      ParentShowHint = False
      ShowHint = True
      OnClick = btnLibExistClick
    end
    object btnSet: TToolButton
      Left = 100
      Top = 2
      Hint = #35774#32622
      Caption = 'btnSet'
      ImageIndex = 3
      ParentShowHint = False
      ShowHint = True
      OnClick = btnSetClick
    end
    object btnHelp: TToolButton
      Left = 123
      Top = 2
      Hint = #24110#21161
      Caption = 'btnHelp'
      ImageIndex = 4
      ParentShowHint = False
      ShowHint = True
      OnClick = btnHelpClick
    end
    object ToolButton1: TToolButton
      Left = 146
      Top = 2
      Width = 8
      Caption = 'ToolButton1'
      ImageIndex = 5
      Style = tbsSeparator
    end
    object btnDevPreview: TToolButton
      Left = 154
      Top = 2
      Hint = #25171#21360#39044#35272
      Caption = 'btnDevPreview'
      ImageIndex = 7
      ParentShowHint = False
      ShowHint = True
      OnClick = btnDevPreviewClick
    end
    object btnDevPrint: TToolButton
      Left = 177
      Top = 2
      Hint = #25171#21360
      Caption = 'btnDevPrint'
      ImageIndex = 8
      ParentShowHint = False
      ShowHint = True
      OnClick = btnDevPrintClick
    end
    object btnPrice: TToolButton
      Left = 200
      Top = 2
      Hint = #20462#25913#20215#26684
      Caption = 'btnPrice'
      ImageIndex = 5
      ParentShowHint = False
      ShowHint = True
      Visible = False
      OnClick = btnPriceClick
    end
    object btnPrintDb: TToolButton
      Left = 223
      Top = 2
      Caption = 'btnPrintDb'
      ImageIndex = 6
      Visible = False
      OnClick = btnPrintDbClick
    end
    object btn2: TToolButton
      Left = 246
      Top = 2
      Width = 11
      Caption = 'btn2'
      ImageIndex = 7
      Style = tbsSeparator
    end
    object chkAutoSize: TCheckBox
      Left = 257
      Top = 2
      Width = 104
      Height = 22
      Caption = #33258#21160#35843#25972#21015#23485
      Checked = True
      State = cbChecked
      TabOrder = 0
    end
    object chkSelectLine: TCheckBox
      Left = 361
      Top = 2
      Width = 97
      Height = 22
      Caption = #34892#36873#25321#27169#24335
      TabOrder = 1
      OnClick = chkSelectLineClick
    end
  end
  object statMain: TStatusBar
    Left = 0
    Top = 471
    Width = 829
    Height = 19
    Panels = <
      item
        Alignment = taCenter
        BiDiMode = bdLeftToRight
        ParentBiDiMode = False
        Width = 500
      end
      item
        Alignment = taRightJustify
        Text = #38738#23707#35946#27743#30005#22120#26377#38480#20844#21496'     '
        Width = 200
      end
      item
        Alignment = taCenter
        Width = 50
      end>
    SimplePanel = False
  end
  object pnl1: TPanel
    Left = 826
    Top = 29
    Width = 3
    Height = 442
    Align = alRight
    TabOrder = 3
    object btnGetBomGroup: TButton
      Left = 32
      Top = 56
      Width = 97
      Height = 25
      Caption = #36830#25509#26381#21153#22120
      TabOrder = 0
      OnClick = btnGetBomGroupClick
    end
    object btnBomPrice: TButton
      Left = 24
      Top = 392
      Width = 97
      Height = 25
      Caption = 'Bom'#26680#20215
      TabOrder = 1
      Visible = False
      OnClick = btnBomPriceClick
    end
    object btnGetMM: TButton
      Left = 32
      Top = 232
      Width = 97
      Height = 25
      Caption = #26356#26032#29289#26009
      TabOrder = 2
      Visible = False
      OnClick = btnGetMMClick
    end
    object btnPrintSet: TButton
      Left = 32
      Top = 360
      Width = 97
      Height = 25
      Caption = 'btnPrintSet'
      TabOrder = 3
      Visible = False
      OnClick = btnPrintSetClick
    end
    object btnGetF: TButton
      Left = 32
      Top = 264
      Width = 97
      Height = 25
      Caption = #33719#21462#36741#21161#23646#24615
      TabOrder = 4
      Visible = False
      OnClick = btnGetFClick
    end
  end
  object pgcMain: TPageControl
    Left = 18
    Top = 29
    Width = 808
    Height = 442
    ActivePage = ts1
    Align = alClient
    TabIndex = 0
    TabOrder = 4
    object ts1: TTabSheet
      Caption = 'BOM'#28165#21333
      object spl2: TSplitter
        Left = 0
        Top = 113
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alTop
      end
      object spl4: TSplitter
        Left = 0
        Top = 269
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alBottom
      end
      object dbgrdhBomChild: TDBGridEh
        Left = 0
        Top = 116
        Width = 800
        Height = 153
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsBomList
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghAutoSortMarking, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        STFilter.InstantApply = False
        STFilter.Location = stflInTitleFilterEh
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnCellClick = dbgrdhBomChildCellClick
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object pnl2: TPanel
        Left = 0
        Top = 0
        Width = 800
        Height = 113
        Align = alTop
        Caption = 'pnl2'
        TabOrder = 1
        object spl3: TSplitter
          Left = 388
          Top = 1
          Width = 2
          Height = 111
          Cursor = crHSplit
          Align = alRight
        end
        object dbgrdhBomMainItem: TDBGridEh
          Left = 390
          Top = 1
          Width = 409
          Height = 111
          Align = alRight
          DataGrouping.GroupLevels = <>
          DataSource = frmModule.dsMainItem
          Flat = False
          FooterColor = clWindow
          FooterFont.Charset = DEFAULT_CHARSET
          FooterFont.Color = clWindowText
          FooterFont.Height = -11
          FooterFont.Name = 'MS Sans Serif'
          FooterFont.Style = []
          IndicatorTitle.ShowDropDownSign = True
          IndicatorTitle.TitleButton = True
          MinAutoFitWidth = 50
          OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
          RowDetailPanel.Color = clBtnFace
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          object RowDetailData: TRowDetailPanelControlEh
          end
        end
        object dbgrdhBomBill: TDBGridEh
          Left = 1
          Top = 1
          Width = 387
          Height = 111
          Align = alClient
          AutoFitColWidths = True
          DataGrouping.GroupLevels = <>
          DataSource = frmModule.dsShowBomBill
          Flat = False
          FooterColor = clWindow
          FooterFont.Charset = DEFAULT_CHARSET
          FooterFont.Color = clWindowText
          FooterFont.Height = -11
          FooterFont.Name = 'MS Sans Serif'
          FooterFont.Style = []
          IndicatorTitle.ShowDropDownSign = True
          IndicatorTitle.TitleButton = True
          OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
          RowDetailPanel.Color = clBtnFace
          SortLocal = True
          STFilter.InstantApply = False
          STFilter.Local = True
          STFilter.Location = stflInTitleFilterEh
          STFilter.Visible = True
          TabOrder = 1
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          OnCellClick = dbgrdhBomBillCellClick
          OnColWidthsChanged = dbgrdhBomBillColWidthsChanged
          object RowDetailData: TRowDetailPanelControlEh
          end
        end
        object btnBomStartList: TButton
          Left = 584
          Top = 56
          Width = 97
          Height = 25
          Caption = 'btnBomStartList'
          TabOrder = 2
          Visible = False
          OnClick = btnBomStartListClick
        end
      end
      object dbgrdhSfp: TDBGridEh
        Left = 0
        Top = 272
        Width = 800
        Height = 142
        Align = alBottom
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsSfp
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        TabOrder = 2
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
    end
    object tsBomListF: TTabSheet
      Caption = 'BOM'#23637#24320
      ImageIndex = 16
      object spl10: TSplitter
        Left = 0
        Top = 188
        Width = 800
        Height = 5
        Cursor = crVSplit
        Align = alBottom
      end
      object advSdBomListF: TAdvStringGrid
        Left = 0
        Top = 0
        Width = 800
        Height = 188
        Cursor = crDefault
        Align = alClient
        ColCount = 15
        Ctl3D = False
        DefaultColWidth = 30
        DefaultRowHeight = 20
        RowCount = 2
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSizing, goColSizing, goEditing]
        ParentCtl3D = False
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 0
        OnDblClick = advSdBomListFDblClick
        OnHasComboBox = advSdBomListFHasComboBox
        OnGetEditorType = advSdBomListFGetEditorType
        OnComboChange = advSdBomListFComboChange
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ControlLook.FixedGradientHoverFrom = 16710648
        ControlLook.FixedGradientHoverTo = 16446189
        ControlLook.FixedGradientHoverMirrorFrom = 16049367
        ControlLook.FixedGradientHoverMirrorTo = 15258305
        ControlLook.FixedGradientHoverBorder = 12033927
        ControlLook.FixedGradientDownFrom = 15853789
        ControlLook.FixedGradientDownTo = 15852760
        ControlLook.FixedGradientDownMirrorFrom = 15522767
        ControlLook.FixedGradientDownMirrorTo = 15588559
        ControlLook.FixedGradientDownBorder = 14007466
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedColWidth = 20
        FixedRowHeight = 20
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        Flat = True
        FloatFormat = '%.2f'
        Look = glClassic
        Navigation.AlwaysEdit = True
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clSkyBlue
        SortSettings.HeaderColor = 16579058
        SortSettings.HeaderColorTo = 16579058
        SortSettings.HeaderMirrorColor = 16380385
        SortSettings.HeaderMirrorColorTo = 16182488
        Version = '5.0.2.0'
        ColWidths = (
          20
          30
          30
          30
          30
          30
          30
          30
          30
          30
          30
          30
          30
          30
          30)
      end
      object advSdSubBom: TAdvStringGrid
        Left = 0
        Top = 193
        Width = 800
        Height = 221
        Cursor = crDefault
        Align = alBottom
        ColCount = 15
        Ctl3D = True
        DefaultColWidth = 30
        DefaultRowHeight = 20
        RowCount = 2
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSizing, goColSizing, goEditing]
        ParentCtl3D = False
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 1
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedColWidth = 30
        FixedRowHeight = 20
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clHighlight
        SelectionTextColor = clHighlightText
        Version = '5.0.2.0'
      end
    end
    object tsBomList_Lib: TTabSheet
      Caption = 'BOM'#23637#24320#65293#21363#26102#24211#23384
      ImageIndex = 8
      object spl7: TSplitter
        Left = 0
        Top = 297
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alBottom
      end
      object dbgrdhBomLevelList: TDBGridEh
        Left = 0
        Top = 0
        Width = 800
        Height = 297
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsBomLevelList
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        Options = [dgEditing, dgAlwaysShowEditor, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        SortLocal = True
        STFilter.InstantApply = True
        STFilter.Local = True
        STFilter.Location = stflInTitleFilterEh
        STFilter.Visible = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnCellClick = dbgrdhBomLevelListCellClick
        OnSelectionChanged = dbgrdhBomLevelListSelectionChanged
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object dbgrdhLibExist: TDBGridEh
        Left = 0
        Top = 300
        Width = 800
        Height = 114
        Align = alBottom
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsLibExist
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        TabOrder = 1
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnColWidthsChanged = dbgrdhLibExistColWidthsChanged
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object btnMDLibExist: TButton
        Left = 392
        Top = 96
        Width = 137
        Height = 25
        Caption = 'btnMDLibExist'
        TabOrder = 2
        Visible = False
        OnClick = btnMDLibExistClick
      end
    end
    object ts2: TTabSheet
      Caption = 'BOM'#26448#26009#23637#24320
      ImageIndex = 1
      object dbgrdhBomUnflod: TDBGridEh
        Left = 0
        Top = 0
        Width = 800
        Height = 414
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsBomListAll
        Flat = False
        FooterColor = clMenu
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
    end
    object ts5: TTabSheet
      Caption = #35746#21333#21512#25104
      ImageIndex = 6
      object pgcOrder: TPageControl
        Left = 0
        Top = 0
        Width = 800
        Height = 414
        ActivePage = tsOrderConfig
        Align = alClient
        BiDiMode = bdLeftToRight
        ParentBiDiMode = False
        TabIndex = 0
        TabOrder = 0
        TabPosition = tpBottom
        object tsOrderConfig: TTabSheet
          Caption = #35746#21333#37197#32622
          object spl6: TSplitter
            Left = 0
            Top = 265
            Width = 792
            Height = 2
            Cursor = crVSplit
            Align = alTop
          end
          object pnl6: TPanel
            Left = 0
            Top = 0
            Width = 792
            Height = 265
            Align = alTop
            TabOrder = 0
            object pnl11: TPanel
              Left = 1
              Top = 1
              Width = 790
              Height = 263
              Align = alClient
              TabOrder = 0
              object lbl19: TLabel
                Left = 6
                Top = 45
                Width = 72
                Height = 13
                Caption = #21452#39532#36798#22411#21495#65306
              end
              object lbl20: TLabel
                Left = 576
                Top = 44
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object lbl21: TLabel
                Left = 413
                Top = 44
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object lblOrderCode: TLabel
                Left = 15
                Top = 13
                Width = 63
                Height = 13
                Caption = #35746#21333#21495#30721#65306' '
              end
              object lbl6: TLabel
                Left = 6
                Top = 76
                Width = 72
                Height = 13
                Caption = #36965#25511#22120#22411#21495#65306
              end
              object lbl23: TLabel
                Left = 413
                Top = 76
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object lbl24: TLabel
                Left = 576
                Top = 76
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object lbl2: TLabel
                Left = 5
                Top = 106
                Width = 72
                Height = 13
                Caption = #21333#39532#36798#22411#21495#65306
              end
              object lbl3: TLabel
                Left = 413
                Top = 108
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object lbl4: TLabel
                Left = 576
                Top = 108
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object Label1: TLabel
                Left = 5
                Top = 138
                Width = 72
                Height = 13
                Caption = #25511#21046#30418#22411#21495#65306
              end
              object Label2: TLabel
                Left = 413
                Top = 140
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object Label3: TLabel
                Left = 576
                Top = 140
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object Label4: TLabel
                Left = 5
                Top = 170
                Width = 72
                Height = 13
                Caption = #25353#25705#22120#22411#21495#65306
              end
              object Label5: TLabel
                Left = 413
                Top = 172
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object Label6: TLabel
                Left = 576
                Top = 172
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object lbl7: TLabel
                Left = 576
                Top = 204
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object lbl8: TLabel
                Left = 8
                Top = 200
                Width = 84
                Height = 13
                Caption = #21319#38477#39532#36798#22411#21495#65306
              end
              object lbl9: TLabel
                Left = 413
                Top = 204
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object lbl10: TLabel
                Left = 413
                Top = 236
                Width = 12
                Height = 13
                Caption = '-->'
              end
              object lbl11: TLabel
                Left = 8
                Top = 232
                Width = 72
                Height = 13
                Caption = #21319#38477#26609#22411#21495#65306
              end
              object lbl12: TLabel
                Left = 576
                Top = 236
                Width = 69
                Height = 13
                Caption = '<--   '#29289#26009#20195#30721
              end
              object cbbSelectFpType: TComboBox
                Left = 85
                Top = 40
                Width = 325
                Height = 21
                ItemHeight = 13
                TabOrder = 0
                OnChange = cbbSelectFpTypeChange
              end
              object cbbMMCode: TComboBox
                Left = 664
                Top = 40
                Width = 185
                Height = 21
                ItemHeight = 13
                TabOrder = 1
                OnChange = cbbMMCodeChange
              end
              object cbbOrderCode: TComboBox
                Left = 85
                Top = 8
                Width = 180
                Height = 21
                ItemHeight = 13
                TabOrder = 2
              end
              object cbbHandleModel: TComboBox
                Left = 86
                Top = 72
                Width = 323
                Height = 21
                ItemHeight = 13
                TabOrder = 3
                OnChange = cbbHandleModelChange
              end
              object cbbHandleCode: TComboBox
                Left = 664
                Top = 72
                Width = 185
                Height = 21
                ItemHeight = 13
                TabOrder = 4
                OnChange = cbbHandleCodeChange
              end
              object cbbGunModel: TComboBox
                Left = 85
                Top = 104
                Width = 325
                Height = 21
                ItemHeight = 13
                TabOrder = 5
                OnChange = cbbGunModelChange
              end
              object cbbGunCode: TComboBox
                Left = 664
                Top = 104
                Width = 185
                Height = 21
                ItemHeight = 13
                TabOrder = 6
                OnChange = cbbGunCodeChange
              end
              object cbbCtrlModel: TComboBox
                Left = 85
                Top = 136
                Width = 325
                Height = 21
                ItemHeight = 13
                TabOrder = 7
                OnChange = cbbCtrlModelChange
              end
              object cbbCtrlCode: TComboBox
                Left = 664
                Top = 136
                Width = 185
                Height = 21
                ItemHeight = 13
                TabOrder = 8
                OnChange = cbbCtrlCodeChange
              end
              object cbbMassorModel: TComboBox
                Left = 85
                Top = 168
                Width = 325
                Height = 21
                ItemHeight = 13
                TabOrder = 9
                OnChange = cbbMassorModelChange
              end
              object cbbMassorCode: TComboBox
                Left = 664
                Top = 168
                Width = 185
                Height = 21
                ItemHeight = 13
                TabOrder = 10
                OnChange = cbbMassorCodeChange
              end
              object grpOrderCtrl: TGroupBox
                Left = 448
                Top = 40
                Width = 113
                Height = 209
                Caption = #35746#21333#21046#20316
                TabOrder = 11
                object btnCreateCode: TButton
                  Left = 16
                  Top = 64
                  Width = 73
                  Height = 25
                  Caption = #29983#25104#35746#21333
                  TabOrder = 0
                  OnClick = btnCreateCodeClick
                end
                object btnShowOrder: TButton
                  Left = 16
                  Top = 120
                  Width = 75
                  Height = 25
                  Caption = #26597#30475#35746#21333
                  TabOrder = 1
                  OnClick = btnShowOrderClick
                end
              end
              object cbbRudModel: TComboBox
                Left = 104
                Top = 200
                Width = 305
                Height = 21
                ItemHeight = 13
                TabOrder = 12
                OnChange = cbbRudModelChange
              end
              object cbbRudCode: TComboBox
                Left = 664
                Top = 200
                Width = 145
                Height = 21
                ItemHeight = 13
                TabOrder = 13
                OnChange = cbbRudCodeChange
              end
              object cbbUdModel: TComboBox
                Left = 104
                Top = 232
                Width = 305
                Height = 21
                ItemHeight = 13
                TabOrder = 14
                OnChange = cbbUdModelChange
              end
              object cbbUdCode: TComboBox
                Left = 665
                Top = 232
                Width = 145
                Height = 21
                ItemHeight = 13
                TabOrder = 15
                OnChange = cbbUdCodeChange
              end
            end
          end
          object pnl9: TPanel
            Left = 0
            Top = 267
            Width = 792
            Height = 121
            Align = alClient
            TabOrder = 1
            object pnl3: TPanel
              Left = 409
              Top = 1
              Width = 382
              Height = 45
              Align = alClient
              TabOrder = 0
              object grpOther: TGroupBox
                Left = 1
                Top = 1
                Width = 380
                Height = 43
                Align = alClient
                Caption = #20854#20182
                TabOrder = 0
                object lbl13: TLabel
                  Left = 27
                  Top = 151
                  Width = 48
                  Height = 13
                  Caption = #35828#26126#20070#65306
                end
                object lbl5: TLabel
                  Left = 19
                  Top = 23
                  Width = 60
                  Height = 13
                  Caption = #20132#36135#26085#26399#65306
                end
                object Label7: TLabel
                  Left = 16
                  Top = 56
                  Width = 60
                  Height = 13
                  Caption = #20135#21697#24615#36136#65306
                end
                object lbl14: TLabel
                  Left = 8
                  Top = 88
                  Width = 72
                  Height = 13
                  Caption = #21457#36135#30446#30340#22320#65306
                end
                object lbl15: TLabel
                  Left = 16
                  Top = 120
                  Width = 60
                  Height = 13
                  Caption = #21457#36135#26041#24335#65306
                end
                object cbbSpec: TComboBox
                  Left = 80
                  Top = 147
                  Width = 169
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 0
                end
                object dtpData: TDateTimePicker
                  Left = 80
                  Top = 16
                  Width = 169
                  Height = 21
                  CalAlignment = dtaLeft
                  Date = 40549.4465160532
                  Time = 40549.4465160532
                  DateFormat = dfShort
                  DateMode = dmComboBox
                  Kind = dtkDate
                  ParseInput = False
                  TabOrder = 1
                end
                object cbbFpSX: TComboBox
                  Left = 80
                  Top = 48
                  Width = 169
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 2
                end
                object cbbFpTarget: TComboBox
                  Left = 80
                  Top = 80
                  Width = 169
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 3
                end
                object cbbFS: TComboBox
                  Left = 80
                  Top = 112
                  Width = 169
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 4
                end
              end
            end
            object pnl8: TPanel
              Left = 1
              Top = 1
              Width = 408
              Height = 45
              Align = alLeft
              TabOrder = 1
              object grpDoubleF: TGroupBox
                Left = 1
                Top = 1
                Width = 406
                Height = 48
                Align = alTop
                Caption = #21452#39532#36798#36741#21161#23646#24615'   '#65288#39068#33394#12289#21830#26631#12289#30005#27744#31561#65289
                TabOrder = 0
                object cbbF: TComboBox
                  Left = 80
                  Top = 16
                  Width = 297
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 0
                end
              end
              object grpHandleF: TGroupBox
                Left = 1
                Top = 49
                Width = 406
                Height = 48
                Align = alTop
                Caption = #36965#25511#22120#36741#21161#23646#24615'   '#65288#39068#33394#12289#21830#26631#12289#30005#27744#31561#65289
                TabOrder = 1
                object cbbHandleF: TComboBox
                  Left = 80
                  Top = 14
                  Width = 297
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 0
                end
              end
              object grpCtrlF: TGroupBox
                Left = 1
                Top = 145
                Width = 406
                Height = 48
                Align = alTop
                Caption = #25511#21046#30418#36741#21161#23646#24615'   '#65288#39068#33394#12289#21830#26631#12289#30005#27744#31561#65289
                TabOrder = 2
                object cbbCtrlF: TComboBox
                  Left = 80
                  Top = 14
                  Width = 297
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 0
                end
              end
              object grpGunF: TGroupBox
                Left = 1
                Top = 97
                Width = 406
                Height = 48
                Align = alTop
                Caption = #21333#39532#36798#36741#21161#23646#24615
                TabOrder = 3
                object cbbGunF: TComboBox
                  Left = 80
                  Top = 14
                  Width = 297
                  Height = 21
                  ItemHeight = 13
                  TabOrder = 0
                end
              end
            end
            object grpNote: TGroupBox
              Left = 1
              Top = 46
              Width = 790
              Height = 74
              Align = alBottom
              Caption = #20854#20182#35201#27714
              TabOrder = 2
              object mmoNote: TMemo
                Left = 2
                Top = 15
                Width = 786
                Height = 57
                Align = alClient
                Lines.Strings = (
                  '1.'
                  '2.'
                  '3.'
                  '4.'
                  '5.')
                TabOrder = 0
              end
            end
          end
        end
        object tsOrderCreate: TTabSheet
          Caption = #35746#21333#29983#25104
          ImageIndex = 1
          object advstrngrdOrder: TAdvStringGrid
            Left = 0
            Top = 57
            Width = 792
            Height = 331
            Cursor = crDefault
            Align = alClient
            ColCount = 10
            DefaultRowHeight = 18
            RowCount = 20
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clWindowText
            Font.Height = -11
            Font.Name = 'Tahoma'
            Font.Style = []
            Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSizing, goColSizing, goEditing]
            ParentFont = False
            ScrollBars = ssBoth
            TabOrder = 0
            OnGetEditorType = advstrngrdOrderGetEditorType
            ActiveCellFont.Charset = ANSI_CHARSET
            ActiveCellFont.Color = clWindowText
            ActiveCellFont.Height = -11
            ActiveCellFont.Name = 'MS Sans Serif'
            ActiveCellFont.Style = []
            ColumnHeaders.Strings = (
              #39033#30446
              #38656#27714
              #20195#30721
              #35268#26684#22411#21495
              #36741#21161#23646#24615
              #34892#31243'(mm)'
              #23433#35013#23610#23544'(mm)'
              #25512#21147'(N)'
              #25968#37327'('#21488')'
              #22791#27880)
            ControlLook.FixedGradientHoverFrom = 13619409
            ControlLook.FixedGradientHoverTo = 12502728
            ControlLook.FixedGradientHoverMirrorFrom = 12502728
            ControlLook.FixedGradientHoverMirrorTo = 11254975
            ControlLook.FixedGradientHoverBorder = 12033927
            ControlLook.FixedGradientDownFrom = 8816520
            ControlLook.FixedGradientDownTo = 7568510
            ControlLook.FixedGradientDownMirrorFrom = 7568510
            ControlLook.FixedGradientDownMirrorTo = 6452086
            ControlLook.FixedGradientDownBorder = 14007466
            ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
            ControlLook.DropDownHeader.Font.Color = clWindowText
            ControlLook.DropDownHeader.Font.Height = -11
            ControlLook.DropDownHeader.Font.Name = 'Tahoma'
            ControlLook.DropDownHeader.Font.Style = []
            ControlLook.DropDownHeader.Visible = True
            ControlLook.DropDownHeader.Buttons = <>
            ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
            ControlLook.DropDownFooter.Font.Color = clWindowText
            ControlLook.DropDownFooter.Font.Height = -11
            ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
            ControlLook.DropDownFooter.Font.Style = []
            ControlLook.DropDownFooter.Visible = True
            ControlLook.DropDownFooter.Buttons = <>
            EnhRowColMove = False
            Filter = <>
            FilterDropDown.Font.Charset = DEFAULT_CHARSET
            FilterDropDown.Font.Color = clWindowText
            FilterDropDown.Font.Height = -11
            FilterDropDown.Font.Name = 'MS Sans Serif'
            FilterDropDown.Font.Style = []
            FilterDropDownClear = '(All)'
            FixedColWidth = 80
            FixedRowHeight = 18
            FixedFont.Charset = ANSI_CHARSET
            FixedFont.Color = clWindowText
            FixedFont.Height = -11
            FixedFont.Name = 'Microsoft Sans Serif'
            FixedFont.Style = []
            FloatFormat = '%.2f'
            Look = glStandard
            PrintSettings.DateFormat = 'dd/mm/yyyy'
            PrintSettings.Font.Charset = DEFAULT_CHARSET
            PrintSettings.Font.Color = clWindowText
            PrintSettings.Font.Height = -11
            PrintSettings.Font.Name = 'MS Sans Serif'
            PrintSettings.Font.Style = []
            PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
            PrintSettings.FixedFont.Color = clWindowText
            PrintSettings.FixedFont.Height = -13
            PrintSettings.FixedFont.Name = 'MS Sans Serif'
            PrintSettings.FixedFont.Style = []
            PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
            PrintSettings.HeaderFont.Color = clWindowText
            PrintSettings.HeaderFont.Height = -11
            PrintSettings.HeaderFont.Name = 'MS Sans Serif'
            PrintSettings.HeaderFont.Style = []
            PrintSettings.FooterFont.Charset = ANSI_CHARSET
            PrintSettings.FooterFont.Color = clWindowText
            PrintSettings.FooterFont.Height = -11
            PrintSettings.FooterFont.Name = #23435#20307
            PrintSettings.FooterFont.Style = []
            PrintSettings.Borders = pbNoborder
            PrintSettings.Centered = False
            PrintSettings.FitToPage = fpShrink
            PrintSettings.PageNumSep = '/'
            RowHeaders.Strings = (
              #39033#30446
              #35746#21333#21495#30721
              #20132#36135#26085#26399
              #20135#21697#24615#36136
              #21457#36135#30446#30340#22320
              #21457#36135#26041#24335
              #35828#26126#20070
              #21452#39532#36798
              #36965#25511#22120
              #21333#39532#36798
              #25511#21046#30418
              #25353#25705#39532#36798
              #21319#38477#39532#36798
              #21319#38477#26609
              #20854#20182)
            SearchFooter.Color = clBtnFace
            SearchFooter.FindNextCaption = 'Find &next'
            SearchFooter.FindPrevCaption = 'Find &previous'
            SearchFooter.Font.Charset = DEFAULT_CHARSET
            SearchFooter.Font.Color = clWindowText
            SearchFooter.Font.Height = -11
            SearchFooter.Font.Name = 'MS Sans Serif'
            SearchFooter.Font.Style = []
            SearchFooter.HighLightCaption = 'Highlight'
            SearchFooter.HintClose = 'Close'
            SearchFooter.HintFindNext = 'Find next occurence'
            SearchFooter.HintFindPrev = 'Find previous occurence'
            SearchFooter.HintHighlight = 'Highlight occurences'
            SearchFooter.MatchCaseCaption = 'Match case'
            SelectionColor = clHighlight
            SelectionTextColor = clHighlightText
            SortSettings.HeaderColor = 16579058
            SortSettings.HeaderColorTo = 16579058
            SortSettings.HeaderMirrorColor = 16380385
            SortSettings.HeaderMirrorColorTo = 16182488
            Version = '5.0.2.0'
            WordWrap = False
            ColWidths = (
              80
              80
              70
              78
              64
              64
              62
              67
              64
              64)
            RowHeights = (
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18
              18)
          end
          object grpOrderCreate: TGroupBox
            Left = 0
            Top = 0
            Width = 792
            Height = 57
            Align = alTop
            Caption = #35746#21333#36755#20986#25511#21046
            TabOrder = 1
            object btnRConfig: TButton
              Left = 568
              Top = 16
              Width = 89
              Height = 25
              Caption = #36820#22238#20462#25913
              TabOrder = 0
              OnClick = btnRConfigClick
            end
            object btnSaveToExcel: TButton
              Left = 472
              Top = 16
              Width = 89
              Height = 25
              Caption = #23548#20986'Excel'
              TabOrder = 1
              OnClick = btnSaveToExcelClick
            end
            object btnAdvStringGrid: TButton
              Left = 264
              Top = 16
              Width = 97
              Height = 25
              Caption = #25171#21360#35774#32622
              TabOrder = 2
              OnClick = btnAdvStringGridClick
            end
            object btnAdvStringGridPrint: TButton
              Left = 368
              Top = 16
              Width = 97
              Height = 25
              Caption = #25171#21360#39044#35272
              TabOrder = 3
              OnClick = btnAdvStringGridPrintClick
            end
          end
        end
      end
    end
    object tsSearch: TTabSheet
      Caption = #26597#35810
      ImageIndex = 13
      object grpSearchCtrl: TGroupBox
        Left = 0
        Top = 0
        Width = 800
        Height = 97
        Align = alTop
        Caption = #26597#35810#36873#25321
        TabOrder = 0
        object rgSearchSelect: TRadioGroup
          Left = 613
          Top = 15
          Width = 185
          Height = 80
          Align = alRight
          Caption = #36873#25321
          ItemIndex = 0
          Items.Strings = (
            #29289#26009#20195#30721
            #29289#26009#21517#31216
            #35268#26684#22411#21495)
          TabOrder = 0
        end
        object cbbSearch: TComboBox
          Left = 24
          Top = 24
          Width = 297
          Height = 21
          ItemHeight = 13
          TabOrder = 1
          OnChange = cbbSearchChange
          OnKeyPress = cbbSearchKeyPress
        end
        object btnSearchBom: TButton
          Left = 296
          Top = 56
          Width = 75
          Height = 25
          Caption = #26597#35810
          TabOrder = 2
          OnClick = btnSearchBomClick
        end
        object cbbSearchCache: TComboBox
          Left = 104
          Top = 56
          Width = 145
          Height = 21
          ItemHeight = 13
          TabOrder = 3
          Visible = False
        end
        object cbbFinterID: TComboBox
          Left = 472
          Top = 32
          Width = 145
          Height = 21
          ItemHeight = 13
          TabOrder = 4
          Visible = False
        end
      end
      object advstrngrdSearch: TAdvStringGrid
        Left = 0
        Top = 97
        Width = 800
        Height = 317
        Cursor = crDefault
        Align = alClient
        ColCount = 15
        DefaultRowHeight = 18
        FixedCols = 0
        RowCount = 85
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goDrawFocusSelected, goRowSizing, goColSizing, goEditing]
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 1
        OnDblClick = advstrngrdSearchDblClick
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ColumnHeaders.Strings = (
          #24207#21495
          #29289#26009#20195#30721
          #29289#26009#21517#31216
          #35268#26684#22411#21495
          #36741#21161#23646#24615
          #24211#23384#25968#37327
          #24211#23384#21333#20301
          #22791#27880
          #25209#21495
          #29289#26009#20840#31216
          'fitemid')
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedRowHeight = 18
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        Navigation.AlwaysEdit = True
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clRed
        SelectionTextColor = clRed
        Version = '5.0.2.0'
      end
    end
    object ts7: TTabSheet
      Caption = #29289#26009
      ImageIndex = 9
      object spl8: TSplitter
        Left = 0
        Top = 314
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alBottom
      end
      object spl9: TSplitter
        Left = 0
        Top = 402
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alBottom
      end
      object dbgrdhMM: TDBGridEh
        Left = 0
        Top = 0
        Width = 800
        Height = 314
        Align = alClient
        DataGrouping.GroupLevels = <>
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        STFilter.InstantApply = False
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Visible = False
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object dbgrdhFpGet: TDBGridEh
        Left = 0
        Top = 317
        Width = 800
        Height = 85
        Align = alBottom
        DataGrouping.GroupLevels = <>
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        RowDetailPanel.Color = clBtnFace
        TabOrder = 1
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        Visible = False
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object advstrngrdMM: TAdvStringGrid
        Left = 0
        Top = 0
        Width = 800
        Height = 314
        Cursor = crDefault
        Align = alClient
        ColCount = 15
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goRowSelect]
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 2
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ColumnHeaders.Strings = (
          #24207#21495
          #29289#26009#20195#30721
          #29289#26009#21517#31216
          #35268#26684#22411#21495
          #36741#21161#23646#24615
          #24211#23384#25968#37327
          #24211#23384#21333#20301
          #22791#27880
          #25209#21495
          #29289#26009#20840#31216
          'fitemid')
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedRowHeight = 18
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clRed
        SelectionTextColor = clHighlightText
        Version = '5.0.2.0'
        RowHeights = (
          18
          22
          22
          22
          22
          22
          22
          22
          22
          22)
      end
    end
    object tsUpData: TTabSheet
      Caption = #33258#21160#26356#26032
      ImageIndex = 13
      object Button1: TButton
        Left = 46
        Top = 38
        Width = 155
        Height = 27
        Caption = #26816#26597#26356#26032'...'
        TabOrder = 0
        OnClick = Button1Click
      end
      object ProgressBar1: TProgressBar
        Left = 0
        Top = 0
        Width = 800
        Height = 13
        Align = alTop
        Min = 0
        Max = 100
        TabOrder = 1
      end
    end
    object tsMainSet: TTabSheet
      Caption = #35774#32622
      ImageIndex = 3
      object grpPageSet: TGroupBox
        Left = 0
        Top = 0
        Width = 800
        Height = 129
        Align = alTop
        Caption = 'BOM'#25171#21360#35774#32622
        TabOrder = 0
        object pnlPrintSet: TPanel
          Left = 2
          Top = 15
          Width = 796
          Height = 112
          Align = alClient
          TabOrder = 0
          object lbl17: TLabel
            Left = 32
            Top = 24
            Width = 39
            Height = 13
            Caption = #39029#30473#65306' '
          end
          object lbl18: TLabel
            Left = 32
            Top = 56
            Width = 39
            Height = 13
            Caption = #39029#33050#65306' '
          end
          object cbbPageHeadLeft: TComboBox
            Left = 80
            Top = 24
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 0
            Text = #29289#26009#20195#30721
            Items.Strings = (
              #29289#26009#20195#30721
              #29289#26009#21517#31216
              #35268#26684#22411#21495)
          end
          object cbbPageHeadCenter: TComboBox
            Left = 232
            Top = 24
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 1
            Text = #29289#26009#21517#31216
            Items.Strings = (
              #29289#26009#21517#31216
              #29289#26009#20195#30721
              #35268#26684#22411#21495)
          end
          object cbbPageHeadRight: TComboBox
            Left = 384
            Top = 24
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 2
            Text = #35268#26684#22411#21495
            Items.Strings = (
              #35268#26684#22411#21495
              #29289#26009#21517#31216
              #29289#26009#20195#30721)
          end
          object cbbPageFootRight: TComboBox
            Left = 384
            Top = 56
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 3
            Text = #26085#26399#65306
            Items.Strings = (
              #26085#26399#65306
              #23457#26680#65306
              #21046#21333#65306)
          end
          object cbbPageFootCenter: TComboBox
            Left = 232
            Top = 56
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 4
            Text = #23457#26680#65306
            Items.Strings = (
              #23457#26680#65306
              #21046#21333#65306
              #26085#26399#65306)
          end
          object cbbPageFootLeft: TComboBox
            Left = 80
            Top = 56
            Width = 145
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 5
            Text = #21046#21333#65306
            Items.Strings = (
              #21046#21333#65306
              #23457#26680#65306
              #26085#26399#65306)
          end
        end
      end
      object grpLibSet: TGroupBox
        Left = 0
        Top = 129
        Width = 800
        Height = 88
        Align = alTop
        Caption = #25968#25454#24211#35774#32622
        TabOrder = 1
        object pnl10: TPanel
          Left = 2
          Top = 15
          Width = 796
          Height = 71
          Align = alClient
          TabOrder = 0
          object lbl1: TLabel
            Left = 56
            Top = 16
            Width = 51
            Height = 13
            Caption = #25968#25454#24211#65306' '
          end
          object chkIsNoticeItem: TCheckBox
            Left = 248
            Top = 48
            Width = 177
            Height = 17
            Caption = #36873'BOM'#26174#31034#29289#26009#20027#35201#20449#24687
            Checked = True
            State = cbChecked
            TabOrder = 0
            Visible = False
          end
          object cbbMainCode: TComboBox
            Left = 48
            Top = 44
            Width = 145
            Height = 21
            ItemHeight = 13
            TabOrder = 1
            Text = '0'
            Visible = False
          end
          object cbbDataBase: TComboBox
            Left = 120
            Top = 16
            Width = 137
            Height = 21
            ItemHeight = 13
            ItemIndex = 0
            TabOrder = 2
            Text = 'AIS20101102153154'
            Items.Strings = (
              'AIS20101102153154'
              'KIS_Sample')
          end
        end
      end
    end
    object tsFlowChart: TTabSheet
      Caption = #27969#31243#31649#29702
      ImageIndex = 14
      object lbl22: TLabel
        Left = 584
        Top = 88
        Width = 24
        Height = 13
        Caption = #20998#21457
      end
      object advstrngrdFlowChart: TAdvStringGrid
        Left = 0
        Top = 0
        Width = 345
        Height = 405
        Cursor = crDefault
        Align = alLeft
        DefaultRowHeight = 18
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing]
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 0
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedRowHeight = 18
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clHighlight
        SelectionTextColor = clHighlightText
        Version = '5.0.2.0'
        ColWidths = (
          64
          161
          64
          64
          64)
      end
      object grpvender: TGroupBox
        Left = 464
        Top = 16
        Width = 265
        Height = 65
        Caption = #36152#26131
        Color = clInfoBk
        ParentColor = False
        TabOrder = 1
      end
      object grpProduct: TGroupBox
        Left = 488
        Top = 376
        Width = 257
        Height = 73
        Caption = #29983#20135
        Color = clCaptionText
        ParentColor = False
        TabOrder = 2
      end
      object grpDesign: TGroupBox
        Left = 368
        Top = 120
        Width = 185
        Height = 65
        Caption = #30740#21457
        Color = clInactiveCaptionText
        ParentColor = False
        TabOrder = 3
      end
      object grpQulity: TGroupBox
        Left = 664
        Top = 208
        Width = 193
        Height = 65
        Caption = #21697#36136
        Color = clMoneyGreen
        ParentColor = False
        TabOrder = 4
      end
      object grpProject: TGroupBox
        Left = 368
        Top = 200
        Width = 185
        Height = 65
        Caption = #24037#31243
        Color = clActiveBorder
        ParentColor = False
        TabOrder = 5
      end
      object grpProcure: TGroupBox
        Left = 664
        Top = 120
        Width = 193
        Height = 65
        Caption = #37319#36141
        Color = cl3DLight
        ParentColor = False
        TabOrder = 6
      end
    end
    object tsBomListLibExist: TTabSheet
      Caption = 'BOM'#23637#24320#65293#24211#23384#21015#34920
      ImageIndex = 16
      object dbgrdhBomListLibExist: TDBGridEh
        Left = 0
        Top = 0
        Width = 800
        Height = 405
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsBomListLibExist
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        IndicatorTitle.ShowDropDownSign = True
        IndicatorTitle.TitleButton = True
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
    end
    object tsBOMList2: TTabSheet
      Caption = 'BOM0'
      ImageIndex = 7
      object spl5: TSplitter
        Left = 0
        Top = 153
        Width = 800
        Height = 3
        Cursor = crVSplit
        Align = alTop
      end
      object advstrngrdBomList: TAdvStringGrid
        Left = 0
        Top = 0
        Width = 800
        Height = 153
        Cursor = crDefault
        Align = alTop
        FixedCols = 0
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing]
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 0
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ColumnHeaders.Strings = (
          #24207#21495
          #29289#26009#20195#30721
          #29289#26009#21517#31216
          #35268#26684#22411#21495
          #36741#21161#23646#24615
          #29289#26009#20840#31216
          #22791#27880
          'fitemid')
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedColWidth = 20
        FixedRowHeight = 18
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clHighlight
        SelectionTextColor = clHighlightText
        Version = '5.0.2.0'
        ColWidths = (
          20
          20
          20
          20
          20)
        RowHeights = (
          18
          22
          22
          22
          22
          22
          22
          22
          22
          22)
      end
      object advstrngrdBomListAll: TAdvStringGrid
        Left = 0
        Top = 156
        Width = 800
        Height = 249
        Cursor = crDefault
        Align = alClient
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        ScrollBars = ssBoth
        TabOrder = 1
        ActiveCellFont.Charset = DEFAULT_CHARSET
        ActiveCellFont.Color = clWindowText
        ActiveCellFont.Height = -11
        ActiveCellFont.Name = 'Tahoma'
        ActiveCellFont.Style = [fsBold]
        ControlLook.DropDownHeader.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownHeader.Font.Color = clWindowText
        ControlLook.DropDownHeader.Font.Height = -11
        ControlLook.DropDownHeader.Font.Name = 'Tahoma'
        ControlLook.DropDownHeader.Font.Style = []
        ControlLook.DropDownHeader.Visible = True
        ControlLook.DropDownHeader.Buttons = <>
        ControlLook.DropDownFooter.Font.Charset = DEFAULT_CHARSET
        ControlLook.DropDownFooter.Font.Color = clWindowText
        ControlLook.DropDownFooter.Font.Height = -11
        ControlLook.DropDownFooter.Font.Name = 'MS Sans Serif'
        ControlLook.DropDownFooter.Font.Style = []
        ControlLook.DropDownFooter.Visible = True
        ControlLook.DropDownFooter.Buttons = <>
        Filter = <>
        FilterDropDown.Font.Charset = DEFAULT_CHARSET
        FilterDropDown.Font.Color = clWindowText
        FilterDropDown.Font.Height = -11
        FilterDropDown.Font.Name = 'MS Sans Serif'
        FilterDropDown.Font.Style = []
        FilterDropDownClear = '(All)'
        FixedRowHeight = 18
        FixedFont.Charset = DEFAULT_CHARSET
        FixedFont.Color = clWindowText
        FixedFont.Height = -11
        FixedFont.Name = 'Tahoma'
        FixedFont.Style = [fsBold]
        FloatFormat = '%.2f'
        Look = glStandard
        PrintSettings.DateFormat = 'dd/mm/yyyy'
        PrintSettings.Font.Charset = DEFAULT_CHARSET
        PrintSettings.Font.Color = clWindowText
        PrintSettings.Font.Height = -11
        PrintSettings.Font.Name = 'MS Sans Serif'
        PrintSettings.Font.Style = []
        PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
        PrintSettings.FixedFont.Color = clWindowText
        PrintSettings.FixedFont.Height = -11
        PrintSettings.FixedFont.Name = 'MS Sans Serif'
        PrintSettings.FixedFont.Style = []
        PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
        PrintSettings.HeaderFont.Color = clWindowText
        PrintSettings.HeaderFont.Height = -11
        PrintSettings.HeaderFont.Name = 'MS Sans Serif'
        PrintSettings.HeaderFont.Style = []
        PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
        PrintSettings.FooterFont.Color = clWindowText
        PrintSettings.FooterFont.Height = -11
        PrintSettings.FooterFont.Name = 'MS Sans Serif'
        PrintSettings.FooterFont.Style = []
        PrintSettings.PageNumSep = '/'
        SearchFooter.Color = clBtnFace
        SearchFooter.FindNextCaption = 'Find &next'
        SearchFooter.FindPrevCaption = 'Find &previous'
        SearchFooter.Font.Charset = DEFAULT_CHARSET
        SearchFooter.Font.Color = clWindowText
        SearchFooter.Font.Height = -11
        SearchFooter.Font.Name = 'MS Sans Serif'
        SearchFooter.Font.Style = []
        SearchFooter.HighLightCaption = 'Highlight'
        SearchFooter.HintClose = 'Close'
        SearchFooter.HintFindNext = 'Find next occurence'
        SearchFooter.HintFindPrev = 'Find previous occurence'
        SearchFooter.HintHighlight = 'Highlight occurences'
        SearchFooter.MatchCaseCaption = 'Match case'
        SelectionColor = clHighlight
        SelectionTextColor = clHighlightText
        Version = '5.0.2.0'
        RowHeights = (
          18
          22
          22
          22
          22
          22
          22
          22
          22
          22)
      end
    end
    object tsBomPrice: TTabSheet
      Caption = 'BOM'#26680#20215
      ImageIndex = 4
      object dbgrdhBomPrice: TDBGridEh
        Left = 0
        Top = 0
        Width = 800
        Height = 405
        Align = alClient
        DataGrouping.GroupLevels = <>
        DataSource = frmModule.dsBomPrice
        Flat = False
        FooterColor = clWindow
        FooterFont.Charset = DEFAULT_CHARSET
        FooterFont.Color = clWindowText
        FooterFont.Height = -11
        FooterFont.Name = 'MS Sans Serif'
        FooterFont.Style = []
        OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghAutoSortMarking, dghDialogFind, dghColumnResize, dghColumnMove, dghExtendVertLines]
        RowDetailPanel.Color = clBtnFace
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'MS Sans Serif'
        TitleFont.Style = []
        OnTitleBtnClick = dbgrdhBomPriceTitleBtnClick
        Columns = <
          item
            EditButtons = <>
            FieldName = #29289#26009#20195#30721
            Footers = <>
            Title.TitleButton = True
          end
          item
            EditButtons = <>
            FieldName = #29289#26009#21517#31216
            Footers = <>
            Title.TitleButton = True
          end
          item
            EditButtons = <>
            FieldName = #35268#26684#22411#21495
            Footers = <>
            Title.TitleButton = True
          end
          item
            EditButtons = <>
            FieldName = #20215#26684
            Footers = <>
            Title.TitleButton = True
          end
          item
            EditButtons = <>
            FieldName = #22791#27880
            Footers = <>
            Title.TitleButton = True
          end>
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
    end
    object ts3: TTabSheet
      Caption = 'ts3'
      ImageIndex = 3
      object mmoSqlBomGroup: TMemo
        Left = 0
        Top = 0
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          'SET NOCOUNT ON '
          ''
          '--SQL'#24320#22987#26500#24314#65292#21253#25324#20020#26102#34920'#IntiGroup'#30340#24314#31435#65292#35813#34920#20445#23384#31526#21512#36807#28388#30028#38754#26465#20214#30340'BOM'#32452#20449#24687' '
          'SELECT DISTINCT'
          ' --t1.FInterID,'
          ' t4.FName as "'#29289#26009#21517#31216'",'
          ' t4.FModel as "'#35268#26684#22411#21495'", '
          ' t4.FNumber AS "'#29289#26009#20195#30721'", '
          ' t1.FBomNumber,'
          ' t1.FInterID'
          ' --t4.FItemID'
          ' --t1.FBomType,'
          ' -- t1.FTranType, '
          ' --'#25353#29031'BOM'#30340#31867#22411#20915#23450'BOM'#21069#38754#30340#22270#26631' '
          
            ' --CASE WHEN t1.FBomType=0 THEN (CASE WHEN t1.FUseStatus=1072 TH' +
            'EN 13 ELSE 3 END) ELSE (CASE WHEN t1.FBomType=1 THEN 15 ELSE (CA' +
            'SE WHEN t1.FBomType=2 THEN 18 ELSE 17 END )END ) END AS FImgNorm' +
            'al, '
          ' --t4.FNumber AS FNumber'
          'FROM IcBom t1 '
          'INNER JOIN ICBomChild t2 ON t1.FInterID = t2.FInterID '
          'INNER JOIN IcBomGroup t3 ON t1.FParentID = t3.FinterID '
          
            'INNER JOIN t_ICItem t4 ON t1.FItemID = t4.FItemID  AND T4.FERPCl' +
            'sID IN (2,6,9)'
          'INNER JOIN t_ICItem t7 ON t2.FItemID = t7.FItemID '
          'LEFT JOIN t_User t5 ON t1.FCheckerID = t5.FUserID '
          'LEFT JOIN t_User t6 ON t1.FCheckID = t6.FUserID '
          
            'WHERE 1 = 1  AND ((t1.FAudDate BETWEEN '#39'2000-12-09'#39' AND '#39'2050-12' +
            '-09'#39') OR t1.FAudDate IS NULL) '
          
            ' AND ((t1.FCheckDate BETWEEN '#39'2000-12-09'#39' AND '#39'2050-12-09'#39') OR t' +
            '1.FCheckDate IS NULL) ')
        TabOrder = 0
        WordWrap = False
      end
      object mmoBomMainItem: TMemo
        Left = 0
        Top = 89
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          'SELECT '
          't1.fstatus AS "'#23457#26680'",'
          't1.fusestatus AS "'#29366#24577'",'
          't1.fnumber as "'#29289#26009#20195#30721'",'
          't1.fname as "'#29289#26009#21517#31216'",'
          't1.fmodel as "'#35268#26684#22411#21495'",'
          't1.fbomnumber'
          'FROM   (SELECT a.finterid ,'
          '               a.fbomnumber,'
          '               CASE fusestatus '
          '                 WHEN 1072 THEN '#39#20351#29992#39
          '                 ELSE '#39#26410#20351#29992#39
          '               END AS fusestatus,'
          '               (CASE a.fstatus '
          '                  WHEN 0 THEN '#39#26410#23457#26680#39
          '                  ELSE '#39#24050#23457#26680#39
          '                END) AS fstatus,'
          '               b.fnumber,'
          '               b.fname,'
          '               b.fmodel,'
          '               a.fversion,'
          '               a.fnote,'
          '               b.ferpclsid,'
          '               d.fbillno AS froutingno,'
          '               d.froutingname AS froutingname,'
          '               a.fstatus AS fstatusnum,'
          '               fusestatus AS fusestatusnum,'
          '               a.fyield,'
          '               a.fqty,'
          '               a.fauxqty,'
          '               a.ffee,'
          '               a.fparentid,'
          '               b.fqtydecimal,'
          '               a.fbomtype,'
          '               a.fcustid,'
          '               a.fitemid,'
          '               e.fname AS ferpclsname,'
          '               c.fname AS funitid,'
          '               b.fcuunitid,'
          '               t1.finterid AS fgroupid,'
          '               t1.fnumber AS fgroupnumber,'
          '               t1.fname AS fgroupname   '
          '        FROM   icbom a'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               INNER JOIN t_measureunit c'
          '                 ON a.funitid = c.fitemid'
          '               LEFT JOIN t_routing d'
          '                 ON a.froutingid = d.finterid'
          '               INNER JOIN t_submessage e'
          '                 ON b.ferpclsid = e.finterid'
          '               LEFT JOIN icbomgroup t1'
          '                 ON a.fparentid = t1.finterid'
          ') t1'
          ''
          ''
          '/*'
          
            'SELECT * FROM ( SELECT a.FInterID,a.FBOMNumber,a.FVersion,a.FNot' +
            'e,b.FName,b.FErpClsID,'
          
            'b.FNumber, (case a.FStatus when 0 then '#39#26410#23457#26680#39' else '#39#24050#23457#26680#39' end) as ' +
            'FStatus ,'
          ' d.FBillNO AS FRoutingNo, d.FRoutingName as FRoutingName, '
          'a.FStatus as FStatusNum ,'
          
            'CASE FUseStatus WHEN 1072 THEN '#39#20351#29992#39' ELSE '#39#26410#20351#29992#39' END AS FUseStatus' +
            ','
          'FUseStatus as FUseStatusNum ,'
          
            'a.FYield,a.FQty,a.FAuxQty,a.FFee,a.FParentID,b.FQtyDecimal,a.FBo' +
            'mType,a.FCustID, '
          
            'a.FItemID,b.FModel,e.FName AS FErpClsName,c.FName AS FUnitID,b.F' +
            'CUUnitID, '
          
            't1.FInterID AS FGroupID, t1.FNumber AS FGroupNumber, t1.FName AS' +
            ' FGroupName '
          'FROM ICBOM a INNER JOIN t_ICItem b ON a.FItemID = b.FItemID '
          'INNER JOIN t_MeasureUnit c ON a.FUnitID=c.FItemID '
          'LEFT JOIN t_Routing d ON a.FRoutingID = d.FInterID '
          'INNER JOIN t_submessage e ON  b.FErpClsID = e.FInterID '
          'LEFT JOIN ICBomGroup t1 ON a.FParentID = t1.FInterID '
          ') t1 '
          '*/')
        TabOrder = 1
      end
      object mmoSqlBomList: TMemo
        Left = 0
        Top = 178
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          'SELECT tt.fentryid AS "'#39034#24207#21495'",'
          '       tt.fnumber AS "'#29289#26009#20195#30721'",'
          '       tt.fitemname AS "'#29289#26009#21517#31216'",'
          '       tt.fmodel AS "'#35268#26684#22411#21495'",'
          '       tt.fqty AS "'#29992#37327'",'
          '       tt.funitid AS "'#21333#20301'",'
          '       tt.fusestate AS "'#20351#29992#29366#24577'",'
          '       tt.fstockid AS "'#21457#26009#20179#24211'",'
          '       tt.fnote AS "'#22791#27880'",'
          '       tt.fitemid,'
          '       tt.finterid'
          '       --tt.fplanprice as "'#20215#26684'",'
          '       --tt.fplanprice*tt.fqty as "'#26680#31639'"'
          'FROM   (SELECT a.fentryid,'
          '               a.finterid,'
          '               b.fitemid,'
          '               b.fnumber,'
          '               b.fname AS fitemname,'
          '               b.fmodel,'
          '               d.fname AS fbaseunitid,'
          '               w.fname AS funitid,'
          '               e.fname AS fmaterieltype,'
          '               f.fname AS fmarshaltype,'
          '               a.fauxqty,'
          '               a.fqty,'
          '               a.fscrap,'
          '               a.fbeginday,'
          '               a.fendday,'
          '               a.fpercent,'
          '               (CASE a.fopersn '
          '                  WHEN 0 THEN '#39#39
          '                  ELSE CAST(a.fopersn AS VARCHAR(255))'
          '                END) fopersn,'
          '               j.fname AS foperid,'
          '               a.fmachinepos,'
          '               a.foffsetday,'
          '            --   a.fbeginday,'
          '            --   a.fendday,'
          '              -- CASE a1.fbomtype '
          '              --   WHEN 0 THEN (CASE '
          
            '              --                  WHEN (a.fbeginday BETWEEN '#39'190' +
            '0-1-1'#39' AND '#39'2100-1-1'#39') THEN 0'
          
            '              --                  WHEN (a.fendday BETWEEN '#39'1900-' +
            '1-1'#39' AND '#39'2100-1-1'#39') THEN 0'
          
            '             --                   WHEN ('#39'1900-1-1'#39' >= a.fbeginda' +
            'y'
          
            '              --                        AND '#39'2100-1-1'#39' <= a.fend' +
            'day) THEN 0'
          '             --                   ELSE 1'
          '             --                 END)'
          '             --    ELSE 0'
          '             --  END AS falterbackcolor,'
          '            --  '#39'253, 223, 223'#39' AS fbackcolor,'
          '               CASE a.fbackflush '
          '                 WHEN 1059 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fbackflush,'
          '               CASE b.fiskeyitem '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fiskeyitem,'
          '               CASE h.fdeleted '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fforbituse,'
          '               g.fname AS fusestate,'
          '               CASE i.fspid '
          '                 WHEN 0 THEN '#39#39
          '                 ELSE i.fname'
          '               END AS fspid,'
          '               c.fname AS fstockid,'
          '               a.fnote,'
          '               b.fqtydecimal,'
          '               v.fname AS ferpclsname,'
          '               zz.fplanprice'
          '        FROM   icbom a1'
          '               INNER JOIN icbomchild a'
          '                 ON a1.finterid = a.finterid'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               LEFT JOIN (SELECT fitemid,'
          '                                 fname'
          '                          FROM   t_stock'
          '                          UNION '
          '                          SELECT 0 AS fitemid,'
          '                                 '#39#39' AS fname) c'
          '                 ON Isnull(a.fstockid,0) = c.fitemid'
          '               LEFT JOIN t_measureunit d'
          '                 ON b.funitid = d.fitemid'
          '               LEFT JOIN t_submessage e'
          '                 ON a.fmaterieltype = e.finterid'
          '               LEFT JOIN t_submessage f'
          '                 ON a.fmarshaltype = f.finterid'
          '               LEFT JOIN t_submessage g'
          '                 ON b.fusestate = g.finterid'
          '               LEFT JOIN t_item h'
          '                 ON b.fitemid = h.fitemid'
          '               LEFT JOIN t_stockplace i'
          '                 ON a.fspid = i.fspid'
          '               LEFT JOIN t_submessage j'
          '                 ON a.foperid = j.finterid'
          '                    AND j.ftypeid = 61'
          '               LEFT JOIN t_measureunit w'
          '                 ON a.funitid = w.fitemid'
          '               LEFT JOIN t_submessage v'
          '                 ON b.ferpclsid = v.finterid'
          '               LEFT JOIN aprice zz'
          '                 ON a.fitemid = zz.fitemid'
          '              Where a.finterid=')
        TabOrder = 2
        WordWrap = False
      end
      object mmoBomListAll: TMemo
        Left = 0
        Top = 267
        Width = 313
        Height = 147
        Align = alLeft
        Lines.Strings = (
          'SELECT tt.fentryid AS "'#39034#24207#21495'",'
          '       tt.fnumber AS "'#29289#26009#20195#30721'",'
          '       tt.fitemname AS "'#29289#26009#21517#31216'",'
          '       tt.fmodel AS "'#35268#26684#22411#21495'",'
          '       tt.fqty AS "'#29992#37327'",'
          '       tt.funitid AS "'#21333#20301'",'
          '       tt.fusestate AS "'#20351#29992#29366#24577'",'
          '       tt.fstockid AS "'#21457#26009#20179#24211'",'
          '       tt.fnote AS "'#22791#27880'",'
          '       tt.fitemid,'
          '       tt.finterid'
          '       --tt.fprice as "'#20215#26684'",'
          '       --tt.fqty*tt.fprice as "'#26680#31639'"'
          'FROM   (SELECT a.fentryid,'
          '               a.finterid,'
          '               b.fitemid,'
          '               b.fnumber,'
          '               b.fname AS fitemname,'
          '               b.fmodel,'
          '               d.fname AS fbaseunitid,'
          '               w.fname AS funitid,'
          '               e.fname AS fmaterieltype,'
          '               f.fname AS fmarshaltype,'
          '               a.fauxqty,'
          '               a.fqty,'
          '               a.fscrap,'
          '               a.fbeginday,'
          '               a.fendday,'
          '               a.fpercent,'
          '               (CASE a.fopersn '
          '                  WHEN 0 THEN '#39#39
          '                  ELSE CAST(a.fopersn AS VARCHAR(255))'
          '                END) fopersn,'
          '               j.fname AS foperid,'
          '               a.fmachinepos,'
          '               a.foffsetday,'
          '               CASE a.fbackflush '
          '                 WHEN 1059 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fbackflush,'
          '               CASE b.fiskeyitem '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fiskeyitem,'
          '               CASE h.fdeleted '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fforbituse,'
          '               g.fname AS fusestate,'
          '               CASE i.fspid '
          '                 WHEN 0 THEN '#39#39
          '                 ELSE i.fname'
          '               END AS fspid,'
          '               c.fname AS fstockid,'
          '               a.fnote,'
          '               b.fqtydecimal,'
          '               v.fname AS ferpclsname,'
          '               zz.fplanprice As fprice'
          '        FROM   icbom a1'
          '               INNER JOIN icbomchild a'
          '                 ON a1.finterid = a.finterid'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               LEFT JOIN (SELECT fitemid,'
          '                                 fname'
          '                          FROM   t_stock'
          '                          UNION '
          '                          SELECT 0 AS fitemid,'
          '                                 '#39#39' AS fname) c'
          '                 ON Isnull(a.fstockid,0) = c.fitemid'
          '               LEFT JOIN t_measureunit d'
          '                 ON b.funitid = d.fitemid'
          '               LEFT JOIN t_submessage e'
          '                 ON a.fmaterieltype = e.finterid'
          '               LEFT JOIN t_submessage f'
          '                 ON a.fmarshaltype = f.finterid'
          '               LEFT JOIN t_submessage g'
          '                 ON b.fusestate = g.finterid'
          '               LEFT JOIN t_item h'
          '                 ON b.fitemid = h.fitemid'
          '               LEFT JOIN t_stockplace i'
          '                 ON a.fspid = i.fspid'
          '               LEFT JOIN t_submessage j'
          '                 ON a.foperid = j.finterid'
          '                    AND j.ftypeid = 61'
          '               LEFT JOIN t_measureunit w'
          '                 ON a.funitid = w.fitemid'
          '               LEFT JOIN t_submessage v'
          '                 ON b.ferpclsid = v.finterid'
          '               LEFT JOIN aprice zz'
          '                 ON b.fitemid=zz.fitemid'
          '             where a.finterid in '
          ''
          '(SELECT zz.finterid'
          'FROM   (SELECT a.fentryid,'
          '               a.finterid,'
          '               b.fitemid,'
          '               b.fnumber,'
          '               b.fname AS fitemname,'
          '               b.fmodel,'
          '               d.fname AS fbaseunitid,'
          '               w.fname AS funitid,'
          '               e.fname AS fmaterieltype,'
          '               f.fname AS fmarshaltype,'
          '               a.fauxqty,'
          '               a.fqty,'
          '               a.fscrap,'
          '               a.fbeginday,'
          '               a.fendday,'
          '               a.fpercent,'
          '               (CASE a.fopersn '
          '                  WHEN 0 THEN '#39#39
          '                  ELSE CAST(a.fopersn AS VARCHAR(255))'
          '                END) fopersn,'
          '               j.fname AS foperid,'
          '               a.fmachinepos,'
          '               a.foffsetday,'
          '               CASE a.fbackflush '
          '                 WHEN 1059 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fbackflush,'
          '               CASE b.fiskeyitem '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fiskeyitem,'
          '               CASE h.fdeleted '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fforbituse,'
          '               g.fname AS fusestate,'
          '               CASE i.fspid '
          '                 WHEN 0 THEN '#39#39
          '                 ELSE i.fname'
          '               END AS fspid,'
          '               c.fname AS fstockid,'
          '               a.fnote,'
          '               b.fqtydecimal,'
          '               v.fname AS ferpclsname'
          '        FROM   icbom a1'
          '               INNER JOIN icbomchild a'
          '                 ON a1.finterid = a.finterid'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               LEFT JOIN (SELECT fitemid,'
          '                                 fname'
          '                          FROM   t_stock'
          '                          UNION '
          '                          SELECT 0 AS fitemid,'
          '                                 '#39#39' AS fname) c'
          '                 ON Isnull(a.fstockid,0) = c.fitemid'
          '               LEFT JOIN t_measureunit d'
          '                 ON b.funitid = d.fitemid'
          '               LEFT JOIN t_submessage e'
          '                 ON a.fmaterieltype = e.finterid'
          '               LEFT JOIN t_submessage f'
          '                 ON a.fmarshaltype = f.finterid'
          '               LEFT JOIN t_submessage g'
          '                 ON b.fusestate = g.finterid'
          '               LEFT JOIN t_item h'
          '                 ON b.fitemid = h.fitemid'
          '               LEFT JOIN t_stockplace i'
          '                 ON a.fspid = i.fspid'
          '               LEFT JOIN t_submessage j'
          '                 ON a.foperid = j.finterid'
          '                    AND j.ftypeid = 61'
          '               LEFT JOIN t_measureunit w'
          '                 ON a.funitid = w.fitemid'
          '               LEFT JOIN t_submessage v'
          '                 ON b.ferpclsid = v.finterid'
          '            where a.finterid = '
          ''
          '--) yy join icbom zz on yy.fitemid=zz.fitemid)'
          ''
          '--) tt order by tt.finterid, tt.fentryid')
        TabOrder = 3
      end
      object mmoSqlSfp: TMemo
        Left = 313
        Top = 267
        Width = 487
        Height = 147
        Align = alClient
        Lines.Strings = (
          'SELECT tt.fentryid AS "'#39034#24207#21495'",'
          '       tt.fnumber AS "'#29289#26009#20195#30721'",'
          '       tt.fitemname AS "'#29289#26009#21517#31216'",'
          '       tt.fmodel AS "'#35268#26684#22411#21495'",'
          '       tt.fqty AS "'#29992#37327'",'
          '       tt.funitid AS "'#21333#20301'",'
          '       tt.fusestate AS "'#20351#29992#29366#24577'",'
          '       tt.fstockid AS "'#21457#26009#20179#24211'",'
          '       tt.fnote AS "'#22791#27880'",'
          '       tt.fitemid,'
          '       tt.finterid'
          '       --tt.fplanprice as "'#20215#26684'",'
          '       --tt.fplanprice*tt.fqty as "'#26680#31639'"'
          'FROM   (SELECT a.fentryid,'
          '               a.finterid,'
          '               b.fitemid,'
          '               b.fnumber,'
          '               b.fname AS fitemname,'
          '               b.fmodel,'
          '               d.fname AS fbaseunitid,'
          '               w.fname AS funitid,'
          '               e.fname AS fmaterieltype,'
          '               f.fname AS fmarshaltype,'
          '               a.fauxqty,'
          '               a.fqty,'
          '               a.fscrap,'
          '               a.fbeginday,'
          '               a.fendday,'
          '               a.fpercent,'
          '               (CASE a.fopersn '
          '                  WHEN 0 THEN '#39#39
          '                  ELSE CAST(a.fopersn AS '
          'VARCHAR(255))'
          '                END) fopersn,'
          '               j.fname AS foperid,'
          '               a.fmachinepos,'
          '               a.foffsetday,'
          '               CASE a.fbackflush '
          '                 WHEN 1059 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fbackflush,'
          '               CASE b.fiskeyitem '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fiskeyitem,'
          '               CASE h.fdeleted '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fforbituse,'
          '               g.fname AS fusestate,'
          '               CASE i.fspid '
          '                 WHEN 0 THEN '#39#39
          '                 ELSE i.fname'
          '               END AS fspid,'
          '               c.fname AS fstockid,'
          '               a.fnote,'
          '               b.fqtydecimal,'
          '               v.fname AS ferpclsname,'
          '              zz.fplanprice'
          '        FROM   icbom a1'
          '               INNER JOIN icbomchild a'
          '                 ON a1.finterid = a.finterid'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               LEFT JOIN (SELECT fitemid,'
          '                                 fname'
          '                          FROM   t_stock'
          '                          UNION '
          '                          SELECT 0 AS fitemid,'
          '                                 '#39#39' AS fname) c'
          '                 ON Isnull(a.fstockid,0) = '
          'c.fitemid'
          '               LEFT JOIN t_measureunit d'
          '                 ON b.funitid = d.fitemid'
          '               LEFT JOIN t_submessage e'
          '                 ON a.fmaterieltype = '
          'e.finterid'
          '               LEFT JOIN t_submessage f'
          '                 ON a.fmarshaltype = f.finterid'
          '               LEFT JOIN t_submessage g'
          '                 ON b.fusestate = g.finterid'
          '               LEFT JOIN t_item h'
          '                 ON b.fitemid = h.fitemid'
          '               LEFT JOIN t_stockplace i'
          '                 ON a.fspid = i.fspid'
          '               LEFT JOIN t_submessage j'
          '                 ON a.foperid = j.finterid'
          '                    AND j.ftypeid = 61'
          '               LEFT JOIN t_measureunit w'
          '                 ON a.funitid = w.fitemid'
          '               LEFT JOIN t_submessage v'
          '                 ON b.ferpclsid = v.finterid'
          '               LEFT JOIN aprice zz'
          '              ON zz.fitemid=a.fitemid'
          '             where a.finterid in '
          ''
          '(SELECT zz.finterid'
          ''
          'from icbom zz where zz.fitemid='
          ''
          '--)) tt order by tt.fentryid')
        TabOrder = 4
      end
    end
    object ts4: TTabSheet
      Caption = 'ts4'
      ImageIndex = 5
      object mmoSqlBomPrice: TMemo
        Left = 0
        Top = 0
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          'UPDATE aprice'
          'SET    aprice.fmodel = t_icitem.fmodel,'
          '       aprice.fname = t_icitem.fname,'
          '       aprice.fnumber = t_icitem.fnumber'
          'FROM   aprice,'
          '       t_icitem'
          
            'WHERE  t_icitem.fitemid = aprice.fitemid and t_icitem.fdeleted =' +
            ' 0;'
          ''
          ''
          '')
        TabOrder = 0
        WordWrap = False
      end
      object mmoSqlPrice: TMemo
        Left = 0
        Top = 89
        Width = 800
        Height = 32
        Align = alTop
        Lines.Strings = (
          'Select '
          'b.fnumber as "'#29289#26009#20195#30721'",'
          'b.fname   as "'#29289#26009#21517#31216'",'
          'b.fmodel  as "'#35268#26684#22411#21495'",'
          'b.fplanprice   as "'#20215#26684'",'
          'b.fnote   as "'#22791#27880'"'
          'from aprice b'
          'where b.fdeleted = 0'
          'order by b.fnumber')
        TabOrder = 1
        WordWrap = False
      end
      object mmoSqlPriceInsert: TMemo
        Left = 0
        Top = 121
        Width = 800
        Height = 64
        Align = alTop
        Lines.Strings = (
          'INSERT into aprice (fnumber,fname,fmodel,fplanprice,fitemid)'
          'SELECT a.fnumber,a.fname,a.fmodel,a.fplanprice,a.fitemid'
          'FROM   t_icitem a'
          'WHERE  NOT EXISTS (select * from aprice where fitemid=a.fitemid)')
        TabOrder = 2
        WordWrap = False
      end
      object mmoBomList: TMemo
        Left = 0
        Top = 274
        Width = 800
        Height = 88
        Align = alTop
        Lines.Strings = (
          '/*'
          'Set Nocount On'
          '--'#21019#24314#20020#26102#34920' '
          
            'Create table #Temp ( fscstockname varchar(20) Null default '#39#39', F' +
            'ItemID    '
          
            #9'varchar(50) Null default '#39#39', FItemName  varchar(100) Null defau' +
            'lt '#39#39', '
          
            #9'FUnitName varchar(10) Null default '#39#39', FAuxPropName varchar(100' +
            ') Null default '#39#39', '
          #9'FAuxQty decimal(19,2) Null default 0 ) Declare @Tx varchar(10) '
          '--'#25554#20837#26126#32454
          
            'Insert Into #Temp(fitemid,fitemname) Select FItemID,Fname as fIt' +
            'emName from t_icitem'
          '--'#25554#20837#23567#35745
          
            'Insert Into #Temp(fitemid,fitemname) Select FItemID,Fname as fIt' +
            'emName from t_icitem'
          ''
          '--'#20174#20020#26102#34920#21462#20986#25968#25454
          'Select * from #Temp order by fscstockname '
          '--'#21024#38500#20020#26102#34920
          'Drop table #Temp '
          'Set Nocount Off'
          '*/'
          ''
          '--SET NOCOUNT ON '
          'SELECT    '
          '               tt.fentryid   as "'#39034#24207#21495'",'
          '               tt.fnumber    as "'#29289#26009#20195#30721'",'
          '               tt.fitemname  as "'#29289#26009#21517#31216'",'
          '               tt.fmodel     as "'#35268#26684#22411#21495'", '
          '               tt.fqty       as "'#29992#37327'",'
          '               tt.funitid    as "'#21333#20301'",'
          '               tt.fusestate  as "'#20351#29992#29366#24577'",'
          '               tt.fstockid   as "'#21457#26009#20179#24211'",'
          '               tt.fnote      as "'#22791#27880'",'
          '               tt.fitemid,'
          '               tt.finterid'
          '        --tt.fprice as "'#20215#26684'",'
          '       --tt.fqty*tt.fprice as "'#26680#31639'"'
          '       FROM (SELECT a.fentryid,'
          '                       a.finterid,'
          '                       b.fitemid,'
          '                       b.fnumber,'
          '                       b.fname AS fitemname,'
          '                       b.fmodel,'
          '                       d.fname AS fbaseunitid,'
          '                       w.fname AS funitid,'
          '                       e.fname AS fmaterieltype,'
          '                       f.fname AS fmarshaltype,'
          '                       a.fauxqty,'
          '                       a.fqty,'
          '                       a.fscrap,'
          '                       a.fbeginday,'
          '                       a.fendday,'
          '                       a.fpercent,'
          '                       (CASE a.fopersn'
          '                          WHEN 0 THEN '#39#39
          '                          ELSE CAST(a.fopersn AS VARCHAR(255))'
          '                        END) fopersn,'
          '                       j.fname AS foperid,'
          '                       a.fmachinepos,'
          '                       a.foffsetday,'
          '                       CASE a.fbackflush'
          '                         WHEN 1059 THEN '#39#21542#39
          '                         ELSE '#39#26159#39
          '                       END AS fbackflush,'
          '                       CASE b.fiskeyitem'
          '                         WHEN 0 THEN '#39#21542#39
          '                         ELSE '#39#26159#39
          '                       END AS fiskeyitem,'
          '                       CASE h.fdeleted'
          '                         WHEN 0 THEN '#39#21542#39
          '                         ELSE '#39#26159#39
          '                       END AS fforbituse,'
          '                       g.fname AS fusestate,'
          '                       CASE i.fspid'
          '                         WHEN 0 THEN '#39#39
          '                         ELSE i.fname'
          '                       END AS fspid,'
          '                       c.fname AS fstockid,'
          '                       a.fnote,'
          '                       b.fqtydecimal,'
          '                       v.fname AS ferpclsname,'
          '                       zz.fplanprice AS fprice'
          '                FROM   icbom a1'
          '                       INNER JOIN icbomchild a'
          '                         ON a1.finterid = a.finterid'
          '                       INNER JOIN t_icitem b'
          '                         ON a.fitemid = b.fitemid'
          '                       LEFT JOIN (SELECT fitemid,'
          '                                         fname'
          '                                  FROM   t_stock'
          '                                  UNION'
          '                                  SELECT 0 AS fitemid,'
          '                                         '#39#39' AS fname) c'
          '                         ON Isnull(a.fstockid,0) = c.fitemid'
          '                       LEFT JOIN t_measureunit d'
          '                         ON b.funitid = d.fitemid'
          '                       LEFT JOIN t_submessage e'
          '                         ON a.fmaterieltype = e.finterid'
          '                       LEFT JOIN t_submessage f'
          '                         ON a.fmarshaltype = f.finterid'
          '                       LEFT JOIN t_submessage g'
          '                         ON b.fusestate = g.finterid'
          '                       LEFT JOIN t_item h'
          '                         ON b.fitemid = h.fitemid'
          '                       LEFT JOIN t_stockplace i'
          '                         ON a.fspid = i.fspid'
          '                       LEFT JOIN t_submessage j'
          '                         ON a.foperid = j.finterid'
          '                            AND j.ftypeid = 61'
          '                       LEFT JOIN t_measureunit w'
          '                         ON a.funitid = w.fitemid'
          '                       LEFT JOIN t_submessage v'
          '                         ON b.ferpclsid = v.finterid'
          '                       LEFT JOIN aprice zz'
          '                         ON b.fitemid = zz.fitemid'
          '                WHERE  a.finterid IN (SELECT zz.finterid'
          '                                      FROM   (SELECT a.fentryid,'
          '                                                     a.finterid,'
          '                                                     b.fitemid,'
          '                                                     b.fnumber,'
          
            '                                                     b.fname AS ' +
            'fitemname,'
          '                                                     b.fmodel,'
          
            '                                                     d.fname AS ' +
            'fbaseunitid,'
          
            '                                                     w.fname AS ' +
            'funitid,'
          
            '                                                     e.fname AS ' +
            'fmaterieltype,'
          
            '                                                     f.fname AS ' +
            'fmarshaltype,'
          '                                                     a.fauxqty,'
          '                                                     a.fqty,'
          '                                                     a.fscrap,'
          
            '                                                     a.fbeginday' +
            ','
          '                                                     a.fendday,'
          '                                                     a.fpercent,'
          
            '                                                     (CASE a.fop' +
            'ersn'
          
            '                                                        WHEN 0 T' +
            'HEN '#39#39
          
            '                                                        ELSE CAS' +
            'T(a.fopersn AS VARCHAR(255))'
          
            '                                                      END) foper' +
            'sn,'
          
            '                                                     j.fname AS ' +
            'foperid,'
          
            '                                                     a.fmachinep' +
            'os,'
          
            '                                                     a.foffsetda' +
            'y,'
          
            '                                                     CASE a.fbac' +
            'kflush'
          
            '                                                       WHEN 1059' +
            ' THEN '#39#21542#39
          '                                                       ELSE '#39#26159#39
          
            '                                                     END AS fbac' +
            'kflush,'
          
            '                                                     CASE b.fisk' +
            'eyitem'
          
            '                                                       WHEN 0 TH' +
            'EN '#39#21542#39
          '                                                       ELSE '#39#26159#39
          
            '                                                     END AS fisk' +
            'eyitem,'
          
            '                                                     CASE h.fdel' +
            'eted'
          
            '                                                       WHEN 0 TH' +
            'EN '#39#21542#39
          '                                                       ELSE '#39#26159#39
          
            '                                                     END AS ffor' +
            'bituse,'
          
            '                                                     g.fname AS ' +
            'fusestate,'
          
            '                                                     CASE i.fspi' +
            'd'
          
            '                                                       WHEN 0 TH' +
            'EN '#39#39
          
            '                                                       ELSE i.fn' +
            'ame'
          
            '                                                     END AS fspi' +
            'd,'
          
            '                                                     c.fname AS ' +
            'fstockid,'
          '                                                     a.fnote,'
          
            '                                                     b.fqtydecim' +
            'al,'
          
            '                                                     v.fname AS ' +
            'ferpclsname'
          '                                              FROM   icbom a1'
          
            '                                                     INNER JOIN ' +
            'icbomchild a'
          
            '                                                       ON a1.fin' +
            'terid = a.finterid'
          
            '                                                     INNER JOIN ' +
            't_icitem b'
          
            '                                                       ON a.fite' +
            'mid = b.fitemid'
          
            '                                                     LEFT JOIN (' +
            'SELECT fitemid,'
          
            '                                                                ' +
            '       fname'
          
            '                                                                ' +
            'FROM   t_stock'
          
            '                                                                ' +
            'UNION'
          
            '                                                                ' +
            'SELECT 0 AS fitemid,'
          
            '                                                                ' +
            '       '#39#39' AS fname) c'
          
            '                                                       ON Isnull' +
            '(a.fstockid,0) = c.fitemid'
          
            '                                                     LEFT JOIN t' +
            '_measureunit d'
          
            '                                                       ON b.funi' +
            'tid = d.fitemid'
          
            '                                                     LEFT JOIN t' +
            '_submessage e'
          
            '                                                       ON a.fmat' +
            'erieltype = e.finterid'
          
            '                                                     LEFT JOIN t' +
            '_submessage f'
          
            '                                                       ON a.fmar' +
            'shaltype = f.finterid'
          
            '                                                     LEFT JOIN t' +
            '_submessage g'
          
            '                                                       ON b.fuse' +
            'state = g.finterid'
          
            '                                                     LEFT JOIN t' +
            '_item h'
          
            '                                                       ON b.fite' +
            'mid = h.fitemid'
          
            '                                                     LEFT JOIN t' +
            '_stockplace i'
          
            '                                                       ON a.fspi' +
            'd = i.fspid'
          
            '                                                     LEFT JOIN t' +
            '_submessage j'
          
            '                                                       ON a.fope' +
            'rid = j.finterid'
          
            '                                                          AND j.' +
            'ftypeid = 61'
          
            '                                                     LEFT JOIN t' +
            '_measureunit w'
          
            '                                                       ON a.funi' +
            'tid = w.fitemid'
          
            '                                                     LEFT JOIN t' +
            '_submessage v'
          
            '                                                       ON b.ferp' +
            'clsid = v.finterid'
          
            '                                              WHERE  a.finterid ' +
            '= ')
        TabOrder = 3
        WordWrap = False
      end
      object mmoBomList2: TMemo
        Left = 0
        Top = 362
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          ') yy'
          '                                             JOIN icbom zz'
          
            '                                               ON yy.fitemid = z' +
            'z.fitemid)) tt --order by tt.finterid, tt.fentryid'
          ''
          ''
          ''
          'union'
          ''
          ''
          ''
          'SELECT                  '
          '                          0/gg.fentryid   as "'#39034#24207#21495'",'
          '                            gg.fnumber    as "'#29289#26009#20195#30721'",'
          '                            gg.fitemname  as "'#29289#26009#21517#31216'",'
          '                            gg.fmodel     as "'#35268#26684#22411#21495'", '
          '                            gg.fqty       as "'#29992#37327'",'
          '                            gg.funitid    as "'#21333#20301'",'
          '                            gg.fusestate  as "'#20351#29992#29366#24577'",'
          '                            gg.fstockid   as "'#21457#26009#20179#24211'",'
          '                            gg.fnote      as "'#22791#27880'",'
          '                            gg.fitemid,'
          '                            ee.finterid as finterid'
          ''
          '             FROM   (SELECT tt.fentryid,'
          '                            tt.fnumber,'
          '                            tt.fitemname,'
          '                            tt.fmodel,'
          '                            tt.fqty,'
          '                            tt.funitid,'
          '                            tt.fusestate,'
          '                            tt.fstockid,'
          '                            tt.fnote,'
          '                            tt.fitemid,'
          '                            tt.finterid'
          '                     --tt.fplanprice as "'#20215#26684'",'
          '                    --tt.fplanprice*tt.fqty as "'#26680#31639'"'
          '                    FROM (SELECT a.fentryid,'
          '                                    a.finterid,'
          '                                    b.fitemid,'
          '                                    b.fnumber,'
          '                                    b.fname AS fitemname,'
          '                                    b.fmodel,'
          '                                    d.fname AS fbaseunitid,'
          '                                    w.fname AS funitid,'
          '                                    e.fname AS fmaterieltype,'
          '                                    f.fname AS fmarshaltype,'
          '                                    a.fauxqty,'
          '                                    a.fqty,'
          '                                    a.fscrap,'
          '                                    a.fbeginday,'
          '                                    a.fendday,'
          '                                    a.fpercent,'
          '                                    (CASE a.fopersn'
          '                                       WHEN 0 THEN '#39#39
          
            '                                       ELSE CAST(a.fopersn AS VA' +
            'RCHAR(255))'
          '                                     END) fopersn,'
          '                                    j.fname AS foperid,'
          '                                    a.fmachinepos,'
          '                                    a.foffsetday,'
          '                                    CASE a.fbackflush'
          '                                      WHEN 1059 THEN '#39#21542#39
          '                                      ELSE '#39#26159#39
          '                                    END AS fbackflush,'
          '                                    CASE b.fiskeyitem'
          '                                      WHEN 0 THEN '#39#21542#39
          '                                      ELSE '#39#26159#39
          '                                    END AS fiskeyitem,'
          '                                    CASE h.fdeleted'
          '                                      WHEN 0 THEN '#39#21542#39
          '                                      ELSE '#39#26159#39
          '                                    END AS fforbituse,'
          '                                    g.fname AS fusestate,'
          '                                    CASE i.fspid'
          '                                      WHEN 0 THEN '#39#39
          '                                      ELSE i.fname'
          '                                    END AS fspid,'
          '                                    c.fname AS fstockid,'
          '                                    a.fnote,'
          '                                    b.fqtydecimal,'
          '                                    v.fname AS ferpclsname,'
          '                                    zz.fplanprice'
          '                             FROM   icbom a1'
          '                                    INNER JOIN icbomchild a'
          
            '                                      ON a1.finterid = a.finteri' +
            'd'
          '                                    INNER JOIN t_icitem b'
          '                                      ON a.fitemid = b.fitemid'
          '                                    LEFT JOIN (SELECT fitemid,'
          '                                                      fname'
          '                                               FROM   t_stock'
          '                                               UNION'
          
            '                                               SELECT 0 AS fitem' +
            'id,'
          
            '                                                      '#39#39' AS fnam' +
            'e) c'
          
            '                                      ON Isnull(a.fstockid,0) = ' +
            'c.fitemid'
          '                                    LEFT JOIN t_measureunit d'
          '                                      ON b.funitid = d.fitemid'
          '                                    LEFT JOIN t_submessage e'
          
            '                                      ON a.fmaterieltype = e.fin' +
            'terid'
          '                                    LEFT JOIN t_submessage f'
          
            '                                      ON a.fmarshaltype = f.fint' +
            'erid'
          '                                    LEFT JOIN t_submessage g'
          
            '                                      ON b.fusestate = g.finteri' +
            'd'
          '                                    LEFT JOIN t_item h'
          '                                      ON b.fitemid = h.fitemid'
          '                                    LEFT JOIN t_stockplace i'
          '                                      ON a.fspid = i.fspid'
          '                                    LEFT JOIN t_submessage j'
          '                                      ON a.foperid = j.finterid'
          '                                         AND j.ftypeid = 61'
          '                                    LEFT JOIN t_measureunit w'
          '                                      ON a.funitid = w.fitemid'
          '                                    LEFT JOIN t_submessage v'
          
            '                                      ON b.ferpclsid = v.finteri' +
            'd'
          '                                    LEFT JOIN aprice zz'
          '                                      ON a.fitemid = zz.fitemid'
          '                             WHERE  a.finterid =')
        TabOrder = 4
        WordWrap = False
      end
      object mmoBomList0: TMemo
        Left = 0
        Top = 185
        Width = 800
        Height = 89
        Align = alTop
        Lines.Strings = (
          'SELECT tt.fentryid AS "'#39034#24207#21495'",'
          '       tt.fnumber AS "'#29289#26009#20195#30721'",'
          '       tt.fitemname AS "'#29289#26009#21517#31216'",'
          '       tt.fmodel AS "'#35268#26684#22411#21495'",'
          '       tt.fqty AS "'#29992#37327'",'
          '       tt.funitid AS "'#21333#20301'",'
          '       tt.fusestate AS "'#20351#29992#29366#24577'",'
          '       tt.fstockid AS "'#21457#26009#20179#24211'",'
          '       tt.fnote AS "'#22791#27880'",'
          '       tt.fitemid,'
          '       0/tt.finterid as finterid'
          '       --tt.fplanprice as "'#20215#26684'",'
          '       --tt.fplanprice*tt.fqty as "'#26680#31639'"'
          'FROM   (SELECT a.fentryid,'
          '               a.finterid,'
          '               b.fitemid,'
          '               b.fnumber,'
          '               b.fname AS fitemname,'
          '               b.fmodel,'
          '               d.fname AS fbaseunitid,'
          '               w.fname AS funitid,'
          '               e.fname AS fmaterieltype,'
          '               f.fname AS fmarshaltype,'
          '               a.fauxqty,'
          '               a.fqty,'
          '               a.fscrap,'
          '               a.fbeginday,'
          '               a.fendday,'
          '               a.fpercent,'
          '               (CASE a.fopersn '
          '                  WHEN 0 THEN '#39#39
          '                  ELSE CAST(a.fopersn AS VARCHAR(255))'
          '                END) fopersn,'
          '               j.fname AS foperid,'
          '               a.fmachinepos,'
          '               a.foffsetday,'
          '            --   a.fbeginday,'
          '            --   a.fendday,'
          '              -- CASE a1.fbomtype '
          '              --   WHEN 0 THEN (CASE '
          
            '              --                  WHEN (a.fbeginday BETWEEN '#39'190' +
            '0-1-1'#39' AND '#39'2100-1-1'#39') THEN 0'
          
            '              --                  WHEN (a.fendday BETWEEN '#39'1900-' +
            '1-1'#39' AND '#39'2100-1-1'#39') THEN 0'
          
            '             --                   WHEN ('#39'1900-1-1'#39' >= a.fbeginda' +
            'y'
          
            '              --                        AND '#39'2100-1-1'#39' <= a.fend' +
            'day) THEN 0'
          '             --                   ELSE 1'
          '             --                 END)'
          '             --    ELSE 0'
          '             --  END AS falterbackcolor,'
          '            --  '#39'253, 223, 223'#39' AS fbackcolor,'
          '               CASE a.fbackflush '
          '                 WHEN 1059 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fbackflush,'
          '               CASE b.fiskeyitem '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fiskeyitem,'
          '               CASE h.fdeleted '
          '                 WHEN 0 THEN '#39#21542#39
          '                 ELSE '#39#26159#39
          '               END AS fforbituse,'
          '               g.fname AS fusestate,'
          '               CASE i.fspid '
          '                 WHEN 0 THEN '#39#39
          '                 ELSE i.fname'
          '               END AS fspid,'
          '               c.fname AS fstockid,'
          '               a.fnote,'
          '               b.fqtydecimal,'
          '               v.fname AS ferpclsname,'
          '               zz.fplanprice'
          '        FROM   icbom a1'
          '               INNER JOIN icbomchild a'
          '                 ON a1.finterid = a.finterid'
          '               INNER JOIN t_icitem b'
          '                 ON a.fitemid = b.fitemid'
          '               LEFT JOIN (SELECT fitemid,'
          '                                 fname'
          '                          FROM   t_stock'
          '                          UNION '
          '                          SELECT 0 AS fitemid,'
          '                                 '#39#39' AS fname) c'
          '                 ON Isnull(a.fstockid,0) = c.fitemid'
          '               LEFT JOIN t_measureunit d'
          '                 ON b.funitid = d.fitemid'
          '               LEFT JOIN t_submessage e'
          '                 ON a.fmaterieltype = e.finterid'
          '               LEFT JOIN t_submessage f'
          '                 ON a.fmarshaltype = f.finterid'
          '               LEFT JOIN t_submessage g'
          '                 ON b.fusestate = g.finterid'
          '               LEFT JOIN t_item h'
          '                 ON b.fitemid = h.fitemid'
          '               LEFT JOIN t_stockplace i'
          '                 ON a.fspid = i.fspid'
          '               LEFT JOIN t_submessage j'
          '                 ON a.foperid = j.finterid'
          '                    AND j.ftypeid = 61'
          '               LEFT JOIN t_measureunit w'
          '                 ON a.funitid = w.fitemid'
          '               LEFT JOIN t_submessage v'
          '                 ON b.ferpclsid = v.finterid'
          '               LEFT JOIN aprice zz'
          '                 ON a.fitemid = zz.fitemid'
          '              Where a.finterid=')
        TabOrder = 5
      end
    end
    object ts8: TTabSheet
      Caption = 'ts8'
      ImageIndex = 10
      object mmoMM: TMemo
        Left = 0
        Top = 0
        Width = 800
        Height = 73
        Align = alTop
        Lines.Strings = (
          'Set Nocount on'
          ''
          'Create Table #TempInventory( '
          '                            [FItemID] [int] NOT NULL ,'
          
            '                            [FBatchNo] [varchar] (200)  NOT NULL' +
            ' ,'
          '                            [FStockID] [int] NOT NULL ,'
          '                            [FQty] [decimal](28, 10) NOT NULL ,'
          
            '                            [FKFPeriod] [int] NOT NULL Default(0' +
            '),'
          
            '                            [FKFDate] [varchar] (255)  NOT NULL ' +
            ','
          '                            [FAuxPropID] [int] NOT NULL,'
          '                            [FSumSort] [int] NULL '
          '                             )'
          
            ' Insert Into #TempInventory Select u1.FItemID,u1.FBatchNo,u1.FSt' +
            'ockID,u1.FQty,'
          
            ' u1.FKFPeriod,ISNULL(u1.FKFDate,'#39#39'),u1.FAuxPropID,0 From ICInven' +
            'tory u1'
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          ''
          ' And u1.FQty<>0 '
          
            'Select t1.FItemID as FItemID,t1.FName as FMaterialName,ISNull(t1' +
            '.FModel,'#39' '#39') as FMaterialModel,t1.FNumber AS FMaterialNumber,ISN' +
            'ull(t1.FNote,'#39' '
          #39') as FNote, '
          
            ' t3.FName as FBUUnitName,t4.FName as FCUUnitName,t1.FQtyDecimal,' +
            ' t1.FPriceDecimal, '
          
            ' '#39' '#39' FKFPeriod,'#39' '#39' FKFDate,'#39' '#39' FMaturityDate,  '#39' '#39' as FBatchNo,'#39 +
            ' '#39' AS FStockNumber,'#39' '#39' as FStockName,0 as FStockTypeID,t9.FName ' +
            'as '
          'FAuxPropName,'
          ' Sum(u1.FQty) as FBUQty,Sum(u1.FQty/t4.FCoefficient) as FCUUQty '
          ' '
          ' Into #ReturnInventory From #TempInventory u1 '
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_AuxItem t9 on u1.FAuxPropID=t9.FItemID  '
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          
            '  Group By t1.FItemID,t1.FName,t1.FModel,t1.FNumber,t1.FNote,t3.' +
            'FName,t4.FName,t1.FQtyDecimal,t1.FPriceDecimal,t9.FName  '
          ' Delete From #ReturnInventory Where FBUQty=0 '
          ''
          ' Select bbb.fnumber,'
          '        bbb.fname,'
          '        bbb.fmodel,'
          '        aaa.FAuxPropName,aaa.FCUUQty,bbb.funit,bbb.fnote,'
          ' aaa.FBatchNo,bbb.ffullname,bbb.fitemid'
          ' From  '
          ''
          '(SELECT t1.fitemid,'
          '       t1.fnumber,'
          '       t1.fname,'
          '       --t1.fshortnumber,'
          '       t1.ffullname,'
          '       --t1.fdeleted,'
          '       t3.fmodel,'
          '       t5.fname AS fauxclassid,'
          '       t3.fnote,'
          '       tu.fname as funit'
          '      '
          'FROM   dbo.t_icitem t1'
          '       LEFT JOIN t_icitem t3'
          '         ON t1.fitemid = t3.fitemid'
          '       LEFT JOIN vwitemauxprop t5'
          '         ON t3.fauxclassid = t5.fitemid'
          '       Left join t_MeasureUnit tu'
          '         on t1.fproductunitid = tu.fmeasureunitid'
          'WHERE  t1.fdeleted = 0) bbb left join #ReturnInventory aaa '
          'on aaa.fitemid = bbb.fitemid'
          ''
          ' Order By FNumber,FAuxPropName '
          ''
          ''
          'Drop Table #TempInventory '
          'Drop Table #ReturnInventory'
          ''
          ''
          '')
        TabOrder = 0
      end
      object mmoF: TMemo
        Left = 0
        Top = 73
        Width = 800
        Height = 112
        Align = alTop
        Lines.Strings = (
          'mmoF')
        TabOrder = 1
      end
      object mmoSearch: TMemo
        Left = 0
        Top = 192
        Width = 953
        Height = 89
        Lines.Strings = (
          'Set Nocount on'
          'Create Table #TempInventory( '
          '                            [FItemID] [int] NOT NULL ,'
          
            '                            [FBatchNo] [varchar] (200)  NOT NULL' +
            ' ,'
          '                            [FStockID] [int] NOT NULL ,'
          '                            [FQty] [decimal](28, 10) NOT NULL ,'
          
            '                            [FKFPeriod] [int] NOT NULL Default(0' +
            '),'
          
            '                            [FKFDate] [varchar] (255)  NOT NULL ' +
            ','
          '                            [FAuxPropID] [int] NOT NULL,'
          '                            [FSumSort] [int] NULL '
          '                             )'
          
            ' Insert Into #TempInventory Select u1.FItemID,u1.FBatchNo,u1.FSt' +
            'ockID,u1.FQty,'
          
            ' u1.FKFPeriod,ISNULL(u1.FKFDate,'#39#39'),u1.FAuxPropID,0 From ICInven' +
            'tory u1'
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          ''
          ' And u1.FQty<>0 '
          
            'Select t1.FItemID as FItemID,t1.FName as FMaterialName,ISNull(t1' +
            '.FModel,'#39' '#39') as FMaterialModel,t1.FNumber AS FMaterialNumber,ISN' +
            'ull(t1.FNote,'#39' '#39') as FNote, '
          
            ' t3.FName as FBUUnitName,t4.FName as FCUUnitName,t1.FQtyDecimal,' +
            ' t1.FPriceDecimal, '
          
            ' '#39' '#39' FKFPeriod,'#39' '#39' FKFDate,'#39' '#39' FMaturityDate,  '#39' '#39' as FBatchNo,'#39 +
            ' '#39' AS FStockNumber,'#39' '#39' as FStockName,0 as FStockTypeID,t9.FName ' +
            'as FAuxPropName,'
          ' Sum(u1.FQty) as FBUQty,Sum(u1.FQty/t4.FCoefficient) as FCUUQty '
          ' '
          ' Into #ReturnInventory From #TempInventory u1 '
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_AuxItem t9 on u1.FAuxPropID=t9.FItemID  '
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          
            '  Group By t1.FItemID,t1.FName,t1.FModel,t1.FNumber,t1.FNote,t3.' +
            'FName,t4.FName,t1.FQtyDecimal,t1.FPriceDecimal,t9.FName  '
          ' Delete From #ReturnInventory Where FBUQty=0 '
          
            ' Select * From #ReturnInventory  Order By FMaterialNumber,FAuxPr' +
            'opName '
          'Drop Table #TempInventory '
          'Drop Table #ReturnInventory')
        TabOrder = 2
      end
      object mmoBomList_Lib: TMemo
        Left = 0
        Top = 296
        Width = 753
        Height = 89
        Lines.Strings = (
          'Set Nocount on'
          ''
          'Create Table #TempInventory( '
          '                            [FItemID] [int] NOT NULL ,'
          
            '                            [FBatchNo] [varchar] (200)  NOT NULL' +
            ' ,'
          '                            [FStockID] [int] NOT NULL ,'
          '                            [FQty] [decimal](28, 10) NOT NULL ,'
          
            '                            [FKFPeriod] [int] NOT NULL Default(0' +
            '),'
          
            '                            [FKFDate] [varchar] (255)  NOT NULL ' +
            ','
          '                            [FAuxPropID] [int] NOT NULL,'
          '                            [FSumSort] [int] NULL '
          '                             )'
          
            ' Insert Into #TempInventory Select u1.FItemID,u1.FBatchNo,u1.FSt' +
            'ockID,u1.FQty,'
          
            ' u1.FKFPeriod,ISNULL(u1.FKFDate,'#39#39'),u1.FAuxPropID,0 From ICInven' +
            'tory u1'
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          ''
          ' And u1.FQty<>0 '
          
            'Select t1.FItemID as FItemID,t1.FName as FMaterialName,ISNull(t1' +
            '.FModel,'#39' '#39') as FMaterialModel,t1.FNumber AS FMaterialNumber,ISN' +
            'ull'
          '(t1.FNote,'#39' '#39') as FNote, '
          
            ' t3.FName as FBUUnitName,t4.FName as FCUUnitName,t1.FQtyDecimal,' +
            ' t1.FPriceDecimal, '
          
            ' '#39' '#39' FKFPeriod,'#39' '#39' FKFDate,'#39' '#39' FMaturityDate,  '#39' '#39' as FBatchNo,'#39 +
            ' '#39' AS FStockNumber,'#39' '#39' as FStockName,0 as FStockTypeID,t9.FName ' +
            'as '
          'FAuxPropName,'
          ' Sum(u1.FQty) as FBUQty,Sum(u1.FQty/t4.FCoefficient) as FCUUQty '
          ' '
          ' Into #ReturnInventory From #TempInventory u1 '
          ' left join t_Stock t2 on u1.FStockID=t2.FItemID'
          ' left join t_AuxItem t9 on u1.FAuxPropID=t9.FItemID  '
          ' left join t_ICItem t1 on u1.FItemID = t1.FItemID'
          ' left join t_MeasureUnit t3 on t1.FUnitID=t3.FMeasureUnitID'
          ' left join t_MeasureUnit t4 on t1.FStoreUnitID=t4.FMeasureUnitID'
          ''
          ' Where 1=1  And t1.FDeleted=0'
          
            '  Group By t1.FItemID,t1.FName,t1.FModel,t1.FNumber,t1.FNote,t3.' +
            'FName,t4.FName,t1.FQtyDecimal,t1.FPriceDecimal,t9.FName  '
          ' Delete From #ReturnInventory Where FBUQty=0 '
          
            '-- Select * From #ReturnInventory  Order By FMaterialNumber,FAux' +
            'PropName '
          ''
          '--Drop Table #ReturnInventory'
          'select '
          '       ggg."'#39034#24207#21495'",'
          '       ggg."'#29289#26009#20195#30721'",'
          '       ggg."'#29289#26009#21517#31216'",'
          '       ggg."'#35268#26684#22411#21495'",'
          '       ggg."'#29992#37327'",'
          '       ggg."'#21333#20301'",'
          '       ggg."'#20351#29992#29366#24577'",'
          '       ggg."'#21457#26009#20179#24211'",'
          '       ggg."'#22791#27880'",'
          '       ggg.fitemid,'
          '       ggg.finterid,'
          '       r.fcuuqty as "'#25968#37327'",'
          '       ggg."'#21333#20301'" as "'#24211#23384#21333#20301'"'
          '       '
          ''
          'from'
          '(')
        TabOrder = 3
        WordWrap = False
      end
    end
    object ts6: TTabSheet
      Caption = 'ts6'
      ImageIndex = 14
    end
  end
  object mmMain: TMainMenu
    Left = 656
    object mniStart: TMenuItem
      Caption = #24320#22987
      object mniConServer: TMenuItem
        Caption = #36830#25509#26381#21153#22120
        OnClick = mniConServerClick
      end
      object mniClose: TMenuItem
        Caption = #36864#20986
        OnClick = mniCloseClick
      end
    end
    object mniView: TMenuItem
      Caption = #26174#31034
      object mniShowEdge: TMenuItem
        Caption = #26174#31034#25511#21046#26639
        OnClick = mniShowEdgeClick
      end
      object mniShowBomEdge: TMenuItem
        Caption = #38544#34255#20391#36793#26639
        OnClick = mniShowBomEdgeClick
      end
      object mniShowToolbar: TMenuItem
        Caption = #38544#34255#24037#20855#26639
        OnClick = mniShowToolbarClick
      end
    end
    object mniCtrl: TMenuItem
      Caption = #25511#21046
      OnClick = mniCtrlClick
      object mniBOMALL: TMenuItem
        Caption = #23548#20986'BOM'#20840#34920
        OnClick = mniBOMALLClick
      end
      object BOM1: TMenuItem
        Caption = #25171#21360#23637#24320'BOM'
        OnClick = BOM1Click
      end
      object mniPrintFpBom: TMenuItem
        Caption = #25171#21360#25104#21697'BOM'
        OnClick = mniPrintFpBomClick
      end
      object mniPrintSfpBom: TMenuItem
        Caption = #25171#21360#21322#21697'BOM'
        OnClick = mniPrintSfpBomClick
      end
      object mniBOM3: TMenuItem
        Caption = #25171#21360#26448#26009'BOM'
        OnClick = mniBOM3Click
      end
      object BOM2: TMenuItem
        Caption = #23548#20986#23637#24320'BOM'
        OnClick = BOM2Click
      end
      object mniExportFpBom: TMenuItem
        Caption = #23548#20986#25104#21697'BOM'
        OnClick = mniExportFpBomClick
      end
      object mniExportSfpBom: TMenuItem
        Caption = #23548#20986#21322#21697'BOM'
        OnClick = mniExportSfpBomClick
      end
      object mniBOM4: TMenuItem
        Caption = #23548#20986#26448#26009'BOM'
        OnClick = mniBOM4Click
      end
    end
    object mniSet: TMenuItem
      Caption = #35774#32622
      object mniAllSet: TMenuItem
        Caption = #20840#23616#35774#32622
        OnClick = mniAllSetClick
      end
      object mniUpdata: TMenuItem
        Caption = #26816#26597#26356#26032'...'
        OnClick = mniUpdataClick
      end
    end
    object mniHelp: TMenuItem
      Caption = #24110#21161
      object mniHelpabout: TMenuItem
        Caption = #20351#29992#25163#20876
        OnClick = mniHelpaboutClick
      end
      object mniN1: TMenuItem
        Caption = #20851#20110
        OnClick = mniN1Click
      end
    end
  end
  object ilMain: TImageList
    Left = 624
    Bitmap = {
      494C010112001300040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
      0000000000003600000028000000400000005000000001002000000000000050
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00E3E3D000C5C59F00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF0070701000C5C59F00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00B3B3800066660000B3B38000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000E0A9
      76000000000000000000B4EAFC007FD5F5005AC7F2004CC2F20062CAF4000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00D9D9
      BF006666000083833000666600008C8C4000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000E2AF8000C254
      0900E19C63000000000000000000000000000000000067CCF3001FB2EF001FB3
      EF0079D3F6000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00A9A970006666
      000070701000F6F6F0006666000070701000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000C96A2300BB3F
      0000CD6C2100000000000000000000000000000000000000000076D2F40017B1
      EF000BACEF0091DAF70000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00C5C59F00666600006666
      0000D9D9BF00FFFFFF006666000066660000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000DDA27600BE480000C55B
      0000C0520100D3742C00000000000000000000000000000000000000000064CA
      F40003A8EE0049C2F20000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000BCBC8F0066660000666600007979
      2000FFFFFF00FFFFFF006666000066660000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000000000C7611B00C1500000C864
      0000C2540000C04E0A00D99252000000000000000000000000000000000076D1
      F50018AFEE0028B7F00084D6F500000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00C5C59F0066660000D9D9
      BF00FFFFFF00FFFFFF006666000066660000F6F6F000FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00DFA67500C1510200C55D0000C55B
      0100CB6E1E00D68D4C00DB975A00E7CCAC00B4EBFE00000000000000000048C2
      F2001DB1EE0021B2F0003DBCF20054C5F3000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00F6F6F000FFFF
      FF00FFFFFF00FFFFFF00666600006666000079792000FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00E6BD9500D58A4600C1510000C358
      0900DFA87400000000000000000000000000BBE5F50052C6F8001BB1EE0021B3
      F1002BB6F0001CB1F00034BAF20060CBF5000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00666600006666000066660000D9D9BF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000C4581400C04C
      0900E4B58400000000000000000000000000000000000000000027B4EF0016AE
      EF0025B5F00018B0EF0076D0F600000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF006666000066660000666600008C8C4000FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000D58B5600BB3D
      0000D17A3900000000000000000000000000000000000000000095DCF90021B3
      F00006A9ED003EBDF20000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF0066660000666600006666000066660000F6F6F000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000000000000000CA6A
      2300BF490200CD752F00000000000000000000000000000000000000000062C8
      F5000EABEE0087D6F70000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF006666000066660000666600006666000096965000FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      0000D0803D00C6621600CE762A00000000000000000000000000000000000000
      000065CAF4000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF006666000066660000666600006666000066660000C5C5
      9F00FFFFFF00FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      000000000000D6904E00CA6F1F00D6904E00E0AC7700F4D5B500000000000000
      00008CD9F7000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00838330006666000066660000707010008C8C40008C8C
      4000E3E3D000FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00D9D9BF0066660000ECECDF00FFFFFF00FFFFFF00FFFF
      FF00ECECDF00FFFFFF00FFFFFF00FFFFFF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000EFEFEF00EFEFEF00EFEF
      EF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEF
      EF00EFEFEF00EFEFEF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000039CF630031CF630039CF630031CF
      6B0039CF630031CF6B0039CF630031CF6B0039CF630031CF6300FFFFFF00FFFF
      FF00FFFFFF007B7984000000000021282900C6C6C6008C8C8C00848484008484
      8400848484008484840084848400848484008484840042420000848484008484
      8400848484008C8C8C00C6C6C600000000000000000000000000000000000000
      000000000000A5540E00A5540E00000000000000000000000000A5540E00A554
      0E00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000031CF6B0031CF630031C76B0031CF
      630031CF6B0031CF630031C76B0031CF630031CF6B0031CF6300FFFFFF00FFFF
      FF00FFFFFF0084867B000000000029282100AD410000EFD3B500EFD3B500EFD3
      B500EFD3B500EFD3B500EFD3B500EFD3B500EFD3B500EFD3B500EFD3B500EFD3
      B500EFD3B500AD41000094949400F7F7F7000000000000000000000000000000
      000000000000A5540E00A5540E00000000000000000000000000A5540E00A554
      0E000000000000000000000000000000000000000000000000000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000FF000000000000000000000039CF630031CF6B0039CF630031CF
      630039CF630031CF6B0031CF630031CF630039CF630031CF6B00FFFFFF00FFFF
      FF00FFFFFF007B7984000000000021282900D68A2900D68A2900D68A2900DE9A
      4A00E7B68400EFB68400EFB68400EFB68400EFB68400DEAA6B00D68E3100D68A
      2100D68A2900D69229008C8C8C00EFEFEF000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000FF000000FF000000
      FF00000000000000000000000000000000000000000000000000000000000000
      0000FF000000FF000000FF0000000000000031C76B0031CF630031C76B0031CF
      630031C76B0031CF630031C76B0031CF630031C76B0031CF6300FFFFFF00FFFF
      FF00FFFFFF007B797B000000000029282100C6590000C6610800DEA66300DEA6
      6300DEA66300DEA66300DEA66300DEA66300DEA66300EFAE7300E7B68400D686
      3900C6590000C66100008C8C8C00EFEFEF000000000000000000000000000000
      000000000000B8692500B8692500B8692500B8692500A5540E00A5540E00A554
      0E00000000000000000000000000000000000000FF000000FF000000FF000000
      FF000000FF00000000000000000000000000000000000000000000000000FF00
      0000FF000000FF000000FF000000FF00000039CF630031CF6B0039CF63000000
      000000000000000000000000000031CF6B0039CF630031CF6300FFFFFF00FFFF
      FF00FFFFFF007B7984000000000021282900CE650000D68E3900D68E3900DE92
      4200D68E3900D6863100D68E3900D68E3100D6923900D68A3100CE791800DEAA
      6B00DE965200C66900008C8C8C00EFEFEF000000000000000000000000000000
      0000B86925000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000FF000000000000000000000031CF6B0031CF630031C76B000030
      C6000030CE000030C6000030CE0031CF630031C76B0031CF6300FFFFFF00ADAE
      A5007B798400292821000000000008080800D6752100CE824200CE6D0800CE79
      1800C6691800FFF7F700BD590000D68E4200CE691000FFF7F700FFF7F700FFF7
      F700CE6D2900D68621008C8C8C00EFEFEF000000000000000000000000000000
      0000B8692500B8692500B8692500B8692500B8692500B8692500B8692500B869
      2500B8692500A5540E00000000000000000000000000000000000000FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000FF000000000000000000000039CF630031CF6B0031CF63000030
      CE000030CE000030CE000038CE0031CF630039CF630031CF6B00FFFFFF002128
      290000000000000000000000000000000000BD5D0000C65D42009C180000B541
      0000FFF7F700B54D0800AD340000CE794A00DEA27B00B5511800C6590000AD24
      0000E7BEA500CE7118008C8C8C00EFEFEF000000000000000000000000000000
      0000B8692500FDFFFF00FFFFFF00FFFFFF00FFFFFF00F0F0F000F0F0F000F0F0
      F000DFCBB100DFCBB100A5540E000000000000000000000000000000FF000000
      FF000000FF000000FF00000000000000000000000000FF000000FF000000FF00
      0000FF000000FF000000000000000000000031C76B0031CF630031C76B000030
      C6000030CE000030CE000030CE0031CF630031C76B0031CF6300FFFFFF00EFEF
      E700D6D7DE00D6D7D600D6D7D600D6D7D600B5510000B54D4200FFF7F700C686
      8400AD4D3100BD510000A5240000BD6D4A00AD4900009C200000B5593100FFF3
      EF00BD513100B54D00008C8C8C00EFEFEF000000000000000000000000000000
      0000B8692500B8692500B8692500B8692500B8692500B8692500B8692500B869
      2500B8692500B8692500A5540E00000000000000000000000000000000000000
      000000000000000000000000FF0000000000FF00000000000000000000000000
      00000000000000000000000000000000000039CF630031CF630039CF63000030
      CE000038CE000030CE000038CE0031CF6B0039CF630031CF6300FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00A54100009C4542008C200800FFF7
      F70094240800A54500008C100000AD654200A53C2100FFF7F7008C1C00009418
      0000A5380000AD4900008C8C8C00EFEFEF00000000000000000000000000B869
      2500F0F0F000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FDFFFF00F0F0F000F0F0
      F000DFCBB100DFCBB100DFCBB100A5540E000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000030CE000030C6000030CE000030
      C6000030CE000030C6000030CE000030C6000030CE000030C600FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF008C2800008C454200842000007B14
      0000FFF7F700842408007B0C00009C55420094383100A56D6B0084200000A56D
      6B008C3C2900C68639008C8C8C00EFEFEF00000000000000000000000000B869
      2500B8692500B8692500B8692500B8692500B8692500B8692500B8692500B869
      2500B8692500B8692500B8692500A5540E000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000038CE000030CE000038CE000030
      CE000030CE000030CE000038CE000030CE000038CE000030CE00FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00BD691000E7C3B5007B2C10008428
      00006B180000FFF7F7006B1800007B2C1000732400008C514200FFF7F7008451
      420073200000DE8A210000004600EFEFEF000000000000000000B86925000000
      000000000000000000000137460097E2FE0063DAFA0028C6E70028C6E70005A4
      CB00013746000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000030CE000030CE000030CE000030
      C6000030CE000030CE000030CE000030C6000030CE000030C600FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00CE690000A5451000C6AA9C00AD79
      5A007B2C00006B2000006B2000006B2000006B2800007B3008006B2800006B24
      0000CE650000CE6D00008C8C8C00EFEFEF00B869250000000000B86925000000
      00000000000000000000000000000137460097E2FE0063DAFA0028C6E70028C6
      E70005A4CB000137460000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000038CE000030CE000038CE000030
      CE000038CE000030CE000038CE000030CE000038CE000030CE00FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00C6590000C6590000B54D00007341
      29009C796300C69E7B00BD8A73009C69420073381000521C00008C3C0000CE59
      0000C6590000C65D00008C8C8C00EFEFEF00B8692500B8692500000000000000
      0000000000000000000000000000000000000137460097E2FE0063DAFA0028C6
      E700013746000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000030CE000030C6000030CE000030
      C6000030CE000030C6000030CE000030C6000030CE000030C600FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00D6862100D6862100D6862100D686
      2100D6822100CE791800AD651800B56D1800D6822100D6862100D6862100D686
      2100D6862100DE8A21009C9C9C00F7F7F7000000000000000000000000000000
      000000000000000000000000000000000000000000000137460097E2FE000137
      4600000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000030CE000030CE000038CE000030
      CE000030CE000030CE000038CE000030CE000030CE000030CE00FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00F7DFC600F7DFC600F7DFC600F7DF
      C600F7DFC600F7DFC600F7DFC600F7DFC600F7DFC600F7DFC600F7DFC600F7DF
      C600F7DFC600F7DFC600D6D6D600000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000013746000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000030CE000030CE000030CE000030
      C6000030CE000030CE000030CE000030C6000030CE000030CE00FFFFFF00D6D7
      D6000000000000000000FFFFFF00FFFFFF00B0ACA70051473D00453A2F00483D
      3200483D3200483D3200483D3200483D3200483D3200483D3200483D3200483D
      3200473C3100463B3000675D5500000000000000000000000000000000000000
      00000000000000000000FAFAFAFFE2E7EAFFA1C0CFFFEDF3F5FF000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000B4AFAC00A2999100BDB3A9008E82
      7700908479009084790090847900908479009084790090847900908479009084
      7900978B8000D6CDC400766D6600000000000000000000000000D6D5D5FF9492
      91FF716F6EFF6A6867FF4F626CFF0D6087FF1E7DA2FF015983FF5A6A72FF8584
      83FFC0BFBFFFF4F4F4FF00000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000080800000000000000000
      000000000000000000000000000000000000776E6500A9A19A00B2AAA100584D
      42005C5146005C5146005C5146005C5146005C5146005C5146005C5146005B50
      45006A5F5500EAE3DC006A615900857C7300F8F8F8FF716F6EFF6E6C6BFF8784
      83FF9F9D9CFFA5AAACFF0E6289FF6CC9E1FF3BB7DBFF33B5D6FF256C8DFF8D8A
      89FF817F7EFF72706FFF9E9D9CFF000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF0000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFF000080800000808000000000
      0000000000000000000000000000000000009D928800C1B6AC00C0B7AD00BCB4
      AB00BFB8AF00BFB9B000BFB9B000BFB9B000BFB9B000BFB9B000BFB9AF00BEB7
      AE00BBB3A900C4B9AF00BBAFA5007D746A00CCCCCBFF848281FFF5F4F4FFF7F6
      F5FFEAE4DDFF347594FF53A9C4FF7BDFEFFF0AC2E0FF44C6E0FF5F99B1FFDCD9
      D9FFE3E1E1FFCBC9C8FF6E6C6CFF000000000000000000000000000000000000
      FF000000FF000000FF000000000000000000000000000000000000000000FF00
      000000000000FF00000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FFFFFF00FFFF0000808000008080
      000000000000000000000000000000000000A99F9500E0DBD600E9D3BE00C27E
      540097381600993A1600993A1600993A1600993A1600993A1600993A1600A148
      2600E1B58A00EDEBEB00CEC5BB0081766D00ABAAAAFFA7A3A0FF9E7B37FF8154
      00FF815500FF815400FF85773CFF3CD7E8FF6EF3F9FF0495C1FFBBBFC1FFCECB
      CBFFD9D7D6FFD6D5D4FF6B6968FF0000000000000000000000000000FF000000
      FF000000FF000000FF000000FF00000000000000000000000000FF0000000000
      0000FF00000000000000FF000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000FFFF0000FFFF00008080
      000080800000000000000000000000000000B1A9A200EAC69800EA973300D874
      0A00D26B0000D36C0000D36C0000D36C0000D36C0000D36C0000D36C0000D36D
      0200DF801800F3B25800DBD5D100857A7000A09E9DFF8F620AFFB07E14FFE0AF
      30FFE2B738FFD1A128FF906409FF7E5E12FF15B2D2FF326A7FFF565554FF7A79
      78FFDDDCDBFFDEDCDCFF6C6A69FFF1F1F1FF0000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF0000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000808080008080800080808000FFFF0000FFFF
      000000000000000000000000000000000000BAB4AE00F4C58400FB930400F890
      0000F9910000F9910000F9910000F9910000F9910000F9910000F9910000F891
      0000F9900000FB9E1C00E7E5E5008A7F7400AE925FFFC08A21FFEDBB44FFE1B4
      40FFE6BE45FFF5D557FFEDC444FF92650AFF5C5D3DFF5C5A59FF595756FF5554
      53FF9C9B9AFFDFDDDDFF6B6968FFF2F1F1FF0000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000C1BBB700FAC98700FFB03800FFD8
      8200FFD78000FFD78000FFD78000FFD78000FFD78000FFD78000FFD78000FFD7
      8100FFD07400FE9C1600F0EFF0008F847900AC7816FFF1C284FFE3A541FFC38C
      33FFC18826FFCF9C29FFF3D153FFD1A128FF7D5408FF5D5D5CFF5B5A59FF5857
      56FF6F6E6DFFD8D6D5FF6A6867FFFAFAFAFF0000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF0000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000C2BCB900FBCC8800C8892B00756B
      5800685A4300685A4300685A4300685A4300685A4300685A4300685A43006B5E
      48008D7A5A00FEA01600F1F1F30091857B00B17401FFF9D8B2FFE7AC5BFFC18F
      46FFBD8835FFBF8522FFDDAE35FFE1B335FF7F5505FF5F5F5EFF5C5B5AFF5958
      57FF626160FFBDBBBAFF6E6C6BFF000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      800000000000000000000000000000000000C6C1BD00D9A96200C2872D00938F
      8D00C8C5C300C8C5C300C8C5C300C8C5C300C8C5C300C8C5C300C8C5C300BBB8
      B60082725D00F89C1000BFBAB900E1DDDB00C79331FFF6DAB6FFE2B47BFFC495
      57FFBF8C42FFC1882BFFD29D28FFCC9A22FF7B5610FF61605FFF5D5C5BFF5A59
      58FF686766FF716F6EFFB7B6B6FF000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF0000000000000000000000000000000000000000000000008080000080
      8000000000000000000000000000000000000000000000000000FF00FF000000
      800000008000000000000000000000000000F1F0F000E6E1D900DEBA8400B0AD
      AB00FDFCFB00FAF8F500FAF8F500FAF8F500FAF8F500FAF8F600FBF9F800EBEA
      EA008C847C00FEE0B300E5E3E20000000000F3E6CEFFD6982BFFFEF7F2FFDBB5
      85FFC79349FFC68E32FFD49A30FF956505FF6B604EFF61605FFF5E5C5BFF5A59
      58FF646261FFAFAEADFF00000000000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000FFFF0000FFFF000080
      8000008080008080800080808000808080008080800080808000FF00FF00FF00
      FF00000080000000800000000000000000000000000000000000C9C6C400B5AF
      AA00FCFCFB00F9F7F400F9F7F400F9F7F400FAF8F600FAF8F600F1EDE900D6D2
      CD009D958E0000000000000000000000000000000000E7CA94FFC48511FFE4B6
      73FFE8BA7AFFD09739FF986300FF5D937FFF3CADCAFF61CCDDFF40B3CFFF7099
      ACFF807D7DFFEDEDEDFF00000000000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF0000000000000000000000000000000000000000FFFF0000FFFF0000FF
      FF0000808000008080000000000000000000000000000000000000000000FF00
      FF00FF00FF000000800000008000000000000000000000000000CDC8C400B9B2
      AB00FDFDFC00FBF9F800FBF9F800FBFAF900F3EEEC00C7B6B300958E87009087
      7F00A49990000000000000000000000000000000000000000000EEEAE4FF9B82
      4EFF868749FF7CA17FFF1386AAFF0682AFFF0984B0FF1A94BBFF43C2DFFF2D6B
      87FF918F8FFF0000000000000000000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000FFFF0000FF
      FF0000FFFF000080800000808000000000000000000000000000000000000000
      0000FF00FF00FF00FF0000000000000000000000000000000000CFCAC500BBB5
      AE00FEFEFD00FDFCFB00FDFCFB00FDFDFC00F0E5E400C39D9C00C1BEBA00BEB9
      B400ABA19700000000000000000000000000000000000000000000000000F9FA
      FBFF2EADD1FF97E0EBFF4FC2D8FF53C9DFFF41BCD8FF3FB9D5FF198BB1FF116B
      93FF000000000000000000000000000000000000000000000000000000000000
      00000000FF000000000000000000000000000000000000000000000000000000
      0000FF00000000000000000000000000000000000000000000000000000000FF
      FF0000FFFF0000FFFF0000808000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000D1CCC700BFB8
      B000FEFEFE00FEFEFE00FEFEFE00FEFEFE00F2E4E400D5A7A800F6F4F300D4CD
      C800DFDBD7000000000000000000000000000000000000000000000000000000
      00003AACD2FFBBF2F8FFB8EFF5FF73D2E4FF63D2E7FF44BAD6FF006995FFBBD5
      E0FF000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000FFFF0000FFFF0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000D4CEC900AEA4
      9A00C9C2BB00C8C1BA00C8C1BA00C8C2BA00C3B6AF00B89E9800D6D1CB00DEDA
      D500000000000000000000000000000000000000000000000000000000000000
      0000FEFEFEFF86CBE3FF37A8CDFF2BA1C7FF229AC0FF1783ACFFB4D3E0FF0000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000B0E1FF0050C2FF0000AAFF0000A8FF0050BFFF00B0E1FF000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000CCCB
      CB008E8C89000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000F3F3F30033333300B3B3B300B8B8
      B800B7B7B700B7B7B700B7B7B700B7B7B700B7B7B700B7B7B700B7B7B700B7B7
      B700D3D3D3000000000000000000000000000000000000000000000000000000
      000060C9FF0000B1FF0000B3FF0000B3FF0000B1FF0000ADFF0000A9FF003333
      3300333333003333330000000000000000000000000000000000000000000000
      0000000000000000000000000000A1A1A1005B5B5A004443420072706B00BFBC
      BA00928C80000000000000000000000000000000000000000000000000000000
      0000C4916300A04D0000A04D0000A04D0000A04D0000A04D0000B97C45000000
      000000000000000000000000000000000000211E1B0095887A005C514600DBD8
      D400DDDAD700DDDAD700DDDAD700DDDAD700DDDAD700DDDAD700DDDAD700DDDA
      D700BFBCB90061616100000000000000000000000000000000000000000070CF
      FF0000B5FF0001B9FF0002BBFF001F54AC001F54AC001F54AC0000B0FF0000AA
      FF0070CAFF00FFFFFF0033333300000000000000000000000000000000000000
      00004F4F4F005555550083838300D5D4D400FFFFFF00FFFFFF00FFFFFF00EEF1
      F100B1AA9C00000000000000000000000000000000000000000000000000A04D
      0000A04D0000A04D0000A04D0000000000000000000000000000000000000000
      000000000000000000000000000000000000312A2300B0A69B00CCC6BF009B8D
      7F00FCFCFC00FEFEFE00FDFDFD00FEFEFE00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FEFEFE005958570000000000000000000000000000000000E0F3FF0007B6
      FF000CBCFF0011C0FF001F54AC0011C3FF000DC0FF0007BCFF001F54AC0000AF
      FF0000A8FF00E0F3FF0033333300000000000000000000000000999999007F79
      8000FFFFFF00FFFFFF00F3F3F300EAE8E700EEE4E700FAEFF500FFF9FF00FFFF
      FF00D4CDBE00C0BFBF0000000000000000000000000000000000A04D0000A04D
      0000A04D0000CA9D730000000000000000000000000000000000000000000000
      000000000000000000000000000000000000C8C8C8004C443D00D6D1CB00DAD5
      D0009F938700DADAD900BBB7B300A39A9200B6B0A900E1E0DE00DDDCDC00FDFD
      FD00FEFEFE0061605E000000000000000000000000000303030075D1FF0015BC
      FF001EC2FF0025C6FF0027C8FF0025C8FF0020C6FF0017C2FF000DBCFF0004B5
      FF0000ADFF0070CAFF003333330000000000000000008B8B8900709E55006CB5
      4700517F2C0060704C00D6C7DE00E8E5E400FCFEFE00F9EEEE00FFF8FF00F8F3
      F600F8F5EC00635E5200000000000000000000000000A2510600A04D0000A04D
      0000CA9D73000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000088888800A5988C00D8D2
      CD00CBC4BD008F827400B9AC9900B6AEA300B6AB9C00A6988800968D8500FFFF
      FF00FEFDFD0062615F000000000000000000101010000303030034C0FF0026C0
      FF002BC7FF0000CCFF0000CCFF002ECEFF002ECBFF0028C6FF0000CCFF0000CC
      FF0004B0FF0020B2FF0000000000A1A1A100000000007BCF58006EC546006FC2
      48006FC6480073CD4C005B7A4000FFD1D100EEE3E600FAE0E100FFE2FC00F7DE
      F100FFFFFF007D6E5400000000000000000000000000A04D0000A04D0000A04D
      0000000000000000000000000000000000000000000000000000000000004EC4
      85002FBA70002AB76E0052C58800000000000000000090909000F5F4F200B9B0
      A700ACA19400A8976B00C3B99800DED6BD00D7CEB000C1B38800A89A8000B8B1
      AA00FDFDFC00636261000000000000000000050505000101010021BDFF0025C8
      FF000099CC0016416E0016416E000099CC0029D4FF000099CC0016416E001641
      6E000099CC0002AAFF00000000000C0C0C005B96DD004A8BFF0067CA170063C2
      3D0064C2400065C23B006BB32400BAA9A300E9D8D400FFC9D500F8D7F600FBBE
      F300FFFFFA00AD9B72000000000000000000B5733800A04D0000A04D0000A04D
      0000000000000000000000000000000000000000000035BA72002AB76E002AB8
      6D002AB86D002AB86D002AB86D00000000000000000090909000F5F4F200C0B8
      B00096845900B2A46D00BAAF8200B6AC8500BEB38800B7AB7900A18D5300A99D
      9000FBFAF9006463620000000000000000000F0F0F00010101001FC3FF0020CF
      FF000099CC00141F5200141F52000099CC0022DBFF000099CC00141F5200141F
      52000099CC0006ABFF0002020200010101008DD88B00279DFF00185FFF004CCA
      050056B5080054D8A80043FFFF0033A29D00FFC2B100FFC3D100EDD9DF00FFA2
      F500F4FEE300CEB78B00DCDCDC0000000000A04D0000A04D0000A04D0000A04D
      0000A04D0000000000000000000000000000000000002AB86D002AB86D002FBA
      70002AB76E002AB86D002AB86D00000000000000000090909000F6F5F400B6AD
      A40098813C00BFAB6300BDAD6C00BDAE7100BEAE7000BFAE6900B39E5200AD9D
      7F00EFECEA00656463000000000000000000323232003030300037CCFF001BD4
      FF000099CC00FFFFFF00FFFFFF000099CC001CE2FF000099CC00FFFFFF00FFFF
      FF000099CC0027B5FF000606060035353500BEBB6600C8D155009FE583004AD3
      D20017FFFF0029FFE90030FFEE0014B9AD00F7F9EC00FDB8C600ECD1C400FF95
      FD00F0EBD300EFDCB3009691860000000000A04D0000A04D0000A04D0000A04D
      0000A04D0000A04D0000000000000000000000000000000000002FBA70002AB8
      6D002FBA70002AB86D002FBA7000000000000000000090909000F7F5F400C2BA
      B200A48F5100C8B77400C3B47900BFB17800BEAD6D00B29F5500A28C3900AB9B
      7F00EEEBE900636261000000000000000000BABABA008A8A8A007BDBFF0016D6
      FF000099CC00FFFFFF00FFFFFF000099CC0015E7FF000099CC00FFFFFF00FFFF
      FF000099CC0073CCFF0082828200CBCBCB000000000000DCFF0004D2FF0000D1
      FF0076F35D000BFFF7000EFFFB007BABB300EEE7D900F0BDC300FCA4B700EEF0
      CB00F2E3C700FFF1CF007259310000000000A4540B00A04D0000A04D0000A04D
      0000A04D0000A04D0000D2AB8800000000000000000000000000000000002FBA
      70002AB86D002AB86D002FBA7000000000000000000090909000F6F5F300DBD6
      D100A08C5E00D4C89A00D6CA9D00D5CB9F00D7CC9F00D4C89B00C3B48600C5BC
      B300ECE9E6005E5C59000000000000000000DCDCDC00C5C5C500E0F4FF0012D5
      FF000EE4FF000099CC000099CC000BF2FF0011E8FF0017DBFF000099CC000099
      CC0017B1FF00DFF3FF00BBBBBB00E1E1E100000000006AA7B80000BFFA0000C3
      FE006DD34D0000FDF10000E0E600FFEAD500EAE0CD00E8D6C600FAB7C200EEE6
      C100F2E1BD00FFF0CC00AD8C480000000000CA9D7300A04D0000A04D0000A04D
      0000A04D0000A04D000000000000000000000000000000000000000000002AB8
      6D002FBA70002AB86D002AB86D00000000000000000090909000F6F5F300EFED
      EB00C4BFB900B4A47800EDE9D700EEE9D500EFEAD600E1DAC100AFA08300BEBA
      B600D8D1CB004F4A45000000000000000000F2F2F200BABABA00F8F8F80077DE
      FF000CDFFF0006ECFF0002F4FF0008EEFF000FE4FF0014D7FF0017C8FF0016BA
      FF0077CEFF00F8F8F800A4A4A400F9F9F90000000000A5928500DFCCBE002FC8
      F1000AC3FF00CFD06900DBB9AE00E9DFCB00E9DEC400EBDEC100EDE0BC00F1DF
      B800F3E0B400F9E6BB00C9A55E000000000000000000A04D0000A04D0000A04D
      0000A24E04000000000000000000000000000000000000000000000000002FBA
      70002AB86D002AB86D0000000000000000000000000090909000F6F4F300ECEA
      E800C4C2C000DDD9D500B6A78B009F907000AA997400CFC7BD00D8D2CC00E6E1
      DC00DCD5CE00302D2900000000000000000000000000C7C7C700D0D0D000FFFF
      FF0067DEFF0009DFFF0008E4FF000BE1FF000FD8FF0013CDFF0014C0FF0069CB
      FF00FFFFFF00C7C7C700CACACA000000000000000000F3D5B400DCC0A300E1B5
      9300DBCAC400DDD2C800E5DBC500E9DDC000EADBBB00EDDAB700F1DCB400F8E1
      B300FFEBB400FFF1BD00FFEC9800DFDEDE0000000000C6936900C18B5B000000
      00000000000000000000000000000000000000000000000000003CBE78002AB8
      6D002AB86D002FBA700000000000000000000000000090909000F5F4F200D6D4
      D1006C6A69008786840072706F00767573006C6B6900DED8D100E2DEDA00E7E3
      E0005C5C5C00E8E8E80000000000000000000000000000000000B6B6B600D0D0
      D000FDFDFD00B1E8FF0057DBFF000DD0FF0010CAFF0059CFFF00B2E3FF00FCFC
      FC00D5D5D500B9B9B90000000000000000000000000000000000DBBFA300FFC9
      9100BEBCB400E2D4BD00E4D9BF00EBDDC300EADCBF00E9D8B800F3DAB700685D
      4F00FCFCFC000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000076D1A1002FBA70002AB76E002FBA
      70002AB86D000000000000000000000000000000000090909000F5F3F200E7E4
      E100E8E5E100E7E4E100E7E4E100E6E2DF00E0DBD700DAD4CD00E7E3DF005E5E
      5E00EAEAEA00000000000000000000000000000000000000000000000000B4B4
      B400B9B9B900E4E4E400FAFAFA00FFFFFF00FFFFFF00F9F9F900DDDDDD00BEBE
      BE00BEBEBE000000000000000000000000000000000000000000000000000000
      0000EFDCC400E3CDB000E1C9A800E6C9A300EBCCA200F1CFA200FFDFAA00513A
      21000000000000000000000000000000000000000000000000000000000095D9
      B6002FBA70002FBA70002FBA70002FBA70002AB86D002AB86D002FBA70003CBE
      78000000000000000000000000000000000000000000C0C0C000E2E2E200E7E4
      E000E6E3DF00E6E3DF00E5E1DD00DED9D500CDC5BD00CDC4BC005A5A5A00EAEA
      EA00000000000000000000000000000000000000000000000000000000000000
      0000DEDEDE00BEBEBE00ADADAD00A8A8A800B0B0B000AEAEAE00C0C0C000E0E0
      E000000000000000000000000000000000000000000000000000000000000000
      0000C6BBAC00DCC8B000F8DDB700FFEBBD00FFECB600FFE9B100FFFCBD00694D
      3200000000000000000000000000000000000000000000000000000000000000
      000000000000A2DEBE0040BF7C002FBA700035BA720076D1A100000000000000
      00000000000000000000000000000000000000000000000000006F6F6F004747
      4700484848004848480047474700444342003A3835002A272500EAEAEA000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000009C8C940021313900000000000000000000000000000000000000
      0000000000008699A200000000004E677400997A7400856C4C00FDFBFB000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000008C4221008C4221008C422100944A
      2100A5522900BD633100CE6B4200DE7B4A00EF845200F7945A00C6B5B500ADA5
      A5000000000000000000000000000000000042A5DE004A94D6004A84CE004A7B
      C6004A7BC6004A7BC6004A7BC6004A7BC6004A7BC6004A7BC600000000000000
      0000524A4200314A63003973BD00294A63000000000000000000000000008EA1
      AB00226882001BDDF200248CA70024C7E500BC630F00D0922300839642005A7E
      37009C8A690000000000000000000000000042A5DE004A94D6004A84CE004A7B
      C6004A7BC6004A7BC6004A7BC6004A7BC6004A7BC6004A7BC6004A7BC6004A7B
      C6004A7BC6004A7BC6004A7BC600000000008C422100FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FF946300CEA5A500BDAD
      AD009C8C8C00ADA5A500000000000000000042ADEF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF004A7BC600634A31008C84
      8400314A6B00317BD600429CE70052B5EF0000000000EFF2F30021475E001AE1
      F6001BEDFE001BEEFF0022D4EF001BEEFF00BE640E00E5861600F8FFFF00B9AF
      620098A53C007C9C3300606A34009F806A0042ADEF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A7BC600000000008C422100FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00DE734200FFFFFF00FFFFFF00FFFFFF00FF9C7300CEA5A500B5A5
      A500B5ADAD00AD9C9C0084737300B5ADAD0039B5F700FFFFFF00FFFFFF00FFFF
      FF004A84CE004A7BC600FFFFFF00D6D6D600949494006B6B6300636363005252
      5A004273940042A5E70063C6FF00738CA500000000006E8A9B0018E6FB0020CB
      EE0019EBFF0019EBFF0019EBFF0019EBFF00BD620E00E6952D00CB570000C676
      1600BD872C00AE812800B37C22008968410039B5F700FFFFFF00DCEEF90042A5
      DE00DCEEF900FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A7BC60000000000944A2100FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00EF845200F78C5A00FFFFFF00FFFFFF00FFA57B00CEA5A500AD84
      8400A57B7B00A58C8C00A5A59C008484730029BDF700FFFFFF00FFFFFF00FFFF
      FF004A94D6004A84CE00DEDEDE00948C8C00B5AD9C00D6C6B500CEAD9C007B73
      6B00525A52005A94AD006B9CB500A59C9C00224E6C001E5E810021B1DE001CCF
      F40017E4FF0016E1FD0021A7D5002E6F9600BC610E00E07D0B00D0FFFF00BE9B
      9700CE751600C16F1D00C57120008768420039B5F700FFFFFF0042A5DE00D5EC
      F80042A5DE00FFFFFF00FFFFFF004A94D600FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A7BC600000000009C522900FFFFFF00C6633900D673
      4200E7844A00F78C5A00FF946300FF9C6B00FFFFFF00FFAD8400D6A5A500B594
      9400A57B7B00A5737300A5848400947B730021BDFF00FFFFFF00FFFFFF0042AD
      EF0042A5DE004A94D600B5B5AD00BDBDB500FFEFE700FFE7DE00F7DEC600F7CE
      B5007B736B008C7B7B00A59C9C000000000017658D0022A5D60016DCFF0016DC
      FF0015D8FC00244F6D00F2F5F70091A7B700CF6E0F00FFAC3800D6650300CC66
      09000027FF00CF6D0900C6711F008668430039B5F700FFFFFF0042A5DE00FFFF
      FF0042A5DE00FFFFFF00FFFFFF004A94D600DDEAF700FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A7BC60000000000AD5A3100FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF946300FF9C6B00FFFFFF00FFFFFF00FFB58C00D6ADAD00B58C
      8C00AD848400AD848400A57B7B008C5A630010C6FF00FFFFFF00FFFFFF0039B5
      F700FFFFFF00FFFFFF009C948C00EFEFE700FFF7F700FFEFEF00FFE7DE00F7DE
      CE00CEAD9C0063635A0000000000000000001490C60017C3F70014D2FF0014D2
      FF001499D1000000000000000000000000000F1F2E0000000000000009003B2C
      1E00995B1700C86E1B00DC7715008C6A410029BDF700FFFFFF0042A5DE00FFFF
      FF0042A5DE00FFFFFF004A84CE00DDEBF7004A94D600FFFFFF004A84CE004A84
      CE004A84CE004A84CE004A84CE0000000000BD633900FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FF9C6B00FFFFFF00FFFFFF00FFFFFF00FFBD9C00D6ADAD00B584
      8400C68C8C00C6949400B58C8C009C6B6B0008C6FF00FFFFFF0021BDFF0031BD
      F700FFFFFF00FFFFFF00A59C9400EFEFE700FFFFFF00FFF7F700FFF7EF00FFE7
      DE00DEC6B5006B636300000000000000000013ADEA0017B0F10012C9FF0012C9
      FF001567990000000000000000000000000061696F00313D4700383A3A003839
      38003A3B3C0042474D0042526100444E590021BDFF00FFFFFF0042A5DE00FFFF
      FF0042A5DE00FFFFFF0042A5DE00FFFFFF004A84CE00D7E4F4004A84CE00FFFF
      FF00FFFFFF00FFFFFF004A7BC60000000000CE6B4200FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFBD9C00D6B5B500B57B
      7B00AD7B7B00C68C8C00C68C8C009C6B6B0000C6FF00FFFFFF0010C6FF0021BD
      FF00FFFFFF00FFFFFF00C6C6BD00C6BDBD00FFFFFF00FFFFFF00FFF7F700FFEF
      E700AD9C94009C84840000000000000000003D6E9300127BB6001E7DB90010BF
      FF001185C80000000000000000000000000000000000E6ECF10011AFF30010BF
      FF0010BFFF001AABE0002E4B6000F1F2F20010C6FF00FFFFFF0042A5DE00FFFF
      FF0042A5DE00E8F2FA004A94D600FFFFFF00DDE9F6004A84CE00DDE8F600FFFF
      FF00FFFFFF00FFFFFF004A7BC60000000000DE7B4A00EF845200F7945A00FF9C
      6B00FFA57300FFAD7B00FFB58C00FFBD9400FFBD9C00FFC6A500D6B5B500B57B
      7B00B5848400AD7B7B00B57B7B009C63630000C6FF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00F7FFFF00BDBDB500C6C6BD00EFEFE700EFEFE700B5AD
      A5008C847B00C6C6C60000000000000000008BABC400126FAE000FB7FF000FB7
      FF000EB2FB0044759A000000000000000000000000008AA8BF00197DC2000FB7
      FF000FB7FF000FB6FE001E5074000000000008C6FF00E7F4FB0042A5DE00FFFF
      FF00FFFFFF004A94D600DDECF800FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A7BC600000000000000000000000000E7CECE00E7CE
      CE00E7CECE00E7CEC600DEC6C600DEC6C600DEBDBD00DEBDBD00D6ADAD00B57B
      7B00BD8C8C00BD848400BD8C8C009C63630000C6FF0000C6FF0000C6FF0008C6
      FF0010C6FF0021BDFF0029BDF70010C6FF00C6C6C600A59C9400948C84009494
      8C00C6C6C600634A3100000000000000000013538400128DDC000DAEFF000DAE
      FF000DAEFF000BA2F500336993000000000000000000145D95000DABFD000DAE
      FF000DAEFF000CACFD0034668B000000000000C6FF0042A5DE00CCEBF900FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A84CE00000000000000000000000000E7CECE00E7CE
      CE00E7CECE00E7CECE00E7C6C600DEC6C600DEC6C600DEBDBD00D6ADAD00BD73
      7300BD7B7B00BD848400BD8C8C00A5636300000000000000000000000000CEB5
      A500FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00DEC6B500634A31000000000000000000EDF3F7000B85DB001184D7000BA5
      FF000BA5FF000BA5FF000AA2FC000A9DF8000B99F5000BA3FD000BA5FF000BA5
      FF00127FCE001B527F005784A7000000000000C6FF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00FFFFFF004A94D600000000000000000000000000E7D6C600E7CE
      CE00E7CECE00E7CECE00E7C6C600DEC6C600DEC6C600E7C6C600E7C6C600CE73
      7300C66B6B00BD6B6B00BD6B6B00A55A5A00000000000000000000000000D6BD
      AD00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00B5A59400634A
      3100634A3100634A31000000000000000000000000002E6C9E000A8FF2000B75
      C7000B90F0000A99FC00099DFF00099DFF00099DFF00099DFF00099DFF00099D
      FF0015528200D9E4ED00000000000000000000C6FF0000C6FF0000C6FF0008C6
      FF0010C6FF0010C6FF0021BDFF0029BDF70029BDF70039B5F70039B5F70039B5
      F70042ADEF0042ADEF0042A5DE00000000000000000000000000EFDEC600E7CE
      CE00CEB5C600D6BDBD00F7DEB500FFEFE700FFFFFF00FFFFFF00FFFFFF00F7EF
      EF00E7BDBD00D67B7B00CE6B6B00A5525200000000000000000000000000D6BD
      AD00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00BDA59400D6C6
      BD00634A3100CEB5A500000000000000000000000000000000004E85B200E5ED
      F400088BF1000896FF000896FF000896FF000A8CF3000A8CF3000896FF000791
      FB000E5DA100E5EDF30000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000FFEFDE00FFF7
      F700FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF00F7EFEF00EFCECE00C68C8C00000000000000000000000000DEC6
      B500FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C6AD9C00634A
      3100CEB5A50000000000000000000000000000000000000000000000000077A4
      C700067BE4000971C8000882EA00068DFC000A6CBF000877D6000A6BC200427C
      A900000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000FFF7EF00FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFF7F700F7EFEF00F7E7E700EFE7
      E700EFE7E700F7F7F700FFFFFF00FFFFFF00000000000000000000000000DEC6
      B500DEC6B500DEC6B500DEC6B500DEC6B500D6BDAD00CEBDAD00CEB5A500CEB5
      A500000000000000000000000000000000000000000000000000000000000000
      000000000000528AB7000A5BA1006395BF00B8D0E3003473A600000000000000
      000000000000000000000000000000000000424D3E000000000000003E000000
      2800000040000000500000000100010000000000800200000000000000000000
      000000000000000000000000FFFFFF000000FFFF000000000000FFFF00000000
      0000EC1F000000000000C787000000000000C7C300000000000083E300000000
      000081E100000000000000600000000000000700000000000000C7C100000000
      0000C7C3000000000000E3E3000000000000F1F7000000000000F83700000000
      0000FFFF000000000000FFFF000000008003FFFFFFFF00000001F9CFFFFF0000
      0000F9CFDFFB00000000FFFF8FF100000000F80F07E000000000F7FFDFFB0000
      0000F003DFFB00000000F001C38300000000F001FD7F00000000E000FEFF0000
      0000E000FEFF00000000DC07FEFF000000005E03FEFF000000003F07FEFF0000
      0000FF8FFFFF00000001FFDFFFFF00000001FC3FFFFFFFFF0001C003FFFFFFBF
      00000001F7F7FF1F00000001E3EBFF0F00000001C1D5FF8700000000F7F7FE0F
      00000000F7FFFFFF00000000F7F7FFFF00000001F7FFFFEF00000001F7F7CFC7
      00010003F7FF8003C0078003F7F783E1C007C007F7FFC1F3C007E00FF7F7E1FF
      C007F00FFFFFF3FFC00FF01FFFFFFFFFF81FFFE7FFFF0007F003FE07F01F0003
      E001F007E1FF0003C001C003C3FF00038001800387FF8003000080038FE18003
      000000030F81800300000001078180030000000103C180030000800101E18003
      0000800103E180030000800187E38003800180009FC38003C003C007FF078007
      E007F00FE00F800FF00FF00FF83FC01FFFFFFFFFFFF9FA1FFFFF000F0030E007
      0001000300008000000100000000800000010000000000000001000000010000
      0001000000030700000100000003070000010000000307800001000000030381
      0001C000000301810001C000E00300010001C000E00380030001C000E003C003
      FFFFC000E007E00FFFFFC000E00FF83F00000000000000000000000000000000
      000000000000}
  end
  object prntdbgrdhMain: TPrintDBGridEh
    Options = []
    PageFooter.Font.Charset = DEFAULT_CHARSET
    PageFooter.Font.Color = clWindowText
    PageFooter.Font.Height = -11
    PageFooter.Font.Name = 'MS Sans Serif'
    PageFooter.Font.Style = []
    PageHeader.Font.Charset = DEFAULT_CHARSET
    PageHeader.Font.Color = clWindowText
    PageHeader.Font.Height = -11
    PageHeader.Font.Name = 'MS Sans Serif'
    PageHeader.Font.Style = []
    Units = MM
    Left = 688
  end
  object dlg1: TAdvGridPrintSettingsDialog
    Grid = advstrngrdOrder
    Options = [psBorders, psGeneral, psFonts, psDateTime, psTitle, psPages, psMargins, psSpacing, psOrientation, psSaveSettings]
    PrintPreview = True
    PrintDimensions = pdmm
    Left = 720
  end
  object SaveDialog1: TSaveDialog
    Left = 784
  end
  object trycn1: TTrayIcon
    Visible = True
    PopupMenu = pm1
    Hide = True
    RestoreOn = imLeftDoubleClick
    PopupMenuOn = imMouseDown
    Icons = ilMain
    Left = 592
  end
  object pm1: TPopupMenu
    Left = 560
    object mniN9: TMenuItem
      Caption = #25171#24320
      OnClick = mniN9Click
    end
    object mniN10: TMenuItem
      Caption = #36864#20986
      OnClick = mniN10Click
    end
  end
  object dlgPreview: TAdvPreviewDialog
    CloseAfterPrint = False
    DialogCaption = 'Preview'
    DialogPrevBtn = 'Previous'
    DialogNextBtn = 'Next'
    DialogPrintBtn = 'Print'
    DialogCloseBtn = 'Close'
    Grid = advstrngrdOrder
    PreviewFast = False
    PreviewWidth = 350
    PreviewHeight = 300
    PreviewLeft = 100
    PreviewTop = 100
    PreviewCenter = False
    PrinterSetupDialog = True
    Left = 760
  end
  object dlgSaveOrder: TSaveDialog
    Left = 816
  end
  object auAutoUpgrader1: TauAutoUpgrader
    InfoFile.UpgradeMethod = umRedirectToURL
    InfoFile.UpgradeMsg = #35946#27743'BOM'#26597#35810#31995#32479
    InfoFileURL = 'http://192.168.1.27:8080/RichmatBom.inf'
    VersionControl = byNumber
    VersionDate = '07/25/2011'
    VersionDateAutoSet = True
    VersionNumber = '1.0.0.7'
    ShowMessages = [mAskUpgrade, mConnLost, mHostUnreachable, mLostFile, mNoInfoFile, mNoUpdateAvailable, mPasswordRequest]
    Wizard.Language = wlChineseSimplified
    OnProgress = auAutoUpgrader1Progress
    OnAborted = auAutoUpgrader1Aborted
    OnNoUpdateAvailable = auAutoUpgrader1NoUpdateAvailable
    Left = 528
  end
  object frxCrossObject1: TfrxCrossObject
    Left = 464
  end
  object frxReport1: TfrxReport
    Version = '4.7.109'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1
    PrintOptions.Printer = #39044#35774
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 40551.8373927546
    ReportOptions.LastChange = 40552.4406302431
    ScriptLanguage = 'PascalScript'
    ScriptText.Strings = (
      'begin'
      ''
      'end.')
    OnBeforePrint = frxReport1BeforePrint
    Left = 592
    Top = 64
    Datasets = <>
    Variables = <>
    Style = <>
    object Data: TfrxDataPage
      Height = 1000
      Width = 1000
    end
    object Page1: TfrxReportPage
      Orientation = poLandscape
      PaperWidth = 297
      PaperHeight = 210
      PaperSize = 9
      LeftMargin = 10
      RightMargin = 10
      TopMargin = 10
      BottomMargin = 10
      MirrorMargins = True
      PrintOnPreviousPage = True
      ResetPageNumbers = True
      object PageHeader1: TfrxPageHeader
        Height = 86.92919
        Top = 64.25201
        Width = 1046.92981
        object Memo1: TfrxMemoView
          Align = baCenter
          Left = 451.653835
          Top = 26.45671
          Width = 143.62214
          Height = 41.57483
          ShowHint = False
          Font.Charset = GB2312_CHARSET
          Font.Color = clBlack
          Font.Height = -35
          Font.Name = #26999#20307'_GB2312'
          Font.Style = []
          Memo.UTF8 = (
            #37922#29110#39559#29825#12832#23839)
          ParentFont = False
        end
      end
      object PageFooter1: TfrxPageFooter
        Height = 22.67718
        Top = 393.07112
        Width = 1046.92981
        object Memo2: TfrxMemoView
          Left = 211.65368
          Top = 3.77952999999999
          Width = 94.48825
          Height = 18.89765
          ShowHint = False
        end
      end
      object MasterData1: TfrxMasterData
        Height = 120.94496
        Top = 211.65368
        Width = 1046.92981
        RowCount = 1
        Stretched = True
        object Cross1: TfrxCrossView
          Align = baClient
          Width = 100
          Height = 61
          ShowHint = False
          DownThenAcross = False
          MaxWidth = 800
          ShowColumnHeader = False
          ShowColumnTotal = False
          ShowRowHeader = False
          ShowRowTotal = False
          Memos = {
            3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D227574
            662D38223F3E3C63726F73733E3C63656C6C6D656D6F733E3C546672784D656D
            6F56696577204C6566743D2232302220546F703D223233312E36353336382220
            57696474683D22363022204865696768743D2232312220526573747269637469
            6F6E733D223234222053686F7748696E743D2266616C73652220416C6C6F7745
            787072657373696F6E733D2266616C736522204672616D652E5479703D223135
            2220476170583D22332220476170593D2233222048416C69676E3D2268615269
            676874222056416C69676E3D22766143656E7465722220546578743D2230222F
            3E3C546672784D656D6F56696577204C6566743D2238312220546F703D223633
            222057696474683D22363022204865696768743D223232222052657374726963
            74696F6E733D223234222053686F7748696E743D2266616C73652220416C6C6F
            7745787072657373696F6E733D2266616C736522204672616D652E5479703D22
            31352220476170583D22332220476170593D2233222048416C69676E3D226861
            5269676874222056416C69676E3D22766143656E7465722220546578743D2230
            222F3E3C546672784D656D6F56696577204C6566743D223134312220546F703D
            223433222057696474683D22383122204865696768743D223231222052657374
            72696374696F6E733D223234222053686F7748696E743D2266616C7365222041
            6C6C6F7745787072657373696F6E733D2266616C736522204672616D652E5479
            703D2231352220476170583D22332220476170593D2233222048416C69676E3D
            2268615269676874222056416C69676E3D22766143656E746572222054657874
            3D2230222F3E3C546672784D656D6F56696577204C6566743D22313431222054
            6F703D223634222057696474683D22383122204865696768743D223232222052
            65737472696374696F6E733D223234222053686F7748696E743D2266616C7365
            2220416C6C6F7745787072657373696F6E733D2266616C736522204672616D65
            2E5479703D2231352220476170583D22332220476170593D2233222048416C69
            676E3D2268615269676874222056416C69676E3D22766143656E746572222054
            6578743D2230222F3E3C2F63656C6C6D656D6F733E3C63656C6C686561646572
            6D656D6F733E3C546672784D656D6F56696577204C6566743D22302220546F70
            3D2230222057696474683D223022204865696768743D22302220526573747269
            6374696F6E733D2238222053686F7748696E743D2266616C73652220416C6C6F
            7745787072657373696F6E733D2266616C736522204672616D652E5479703D22
            31352220476170583D22332220476170593D2233222056416C69676E3D227661
            43656E7465722220546578743D22222F3E3C546672784D656D6F56696577204C
            6566743D22302220546F703D2230222057696474683D22302220486569676874
            3D223022205265737472696374696F6E733D2238222053686F7748696E743D22
            66616C73652220416C6C6F7745787072657373696F6E733D2266616C73652220
            4672616D652E5479703D2231352220476170583D22332220476170593D223322
            2056416C69676E3D22766143656E7465722220546578743D22222F3E3C2F6365
            6C6C6865616465726D656D6F733E3C636F6C756D6E6D656D6F733E3C54667278
            4D656D6F56696577204C6566743D22302220546F703D22323122205769647468
            3D2238303022204865696768743D22323122205265737472696374696F6E733D
            223234222053686F7748696E743D2266616C73652220416C6C6F774578707265
            7373696F6E733D2266616C736522204672616D652E5479703D22313522204761
            70583D22332220476170593D2233222048416C69676E3D22686143656E746572
            222056416C69676E3D22766143656E7465722220546578743D22222F3E3C2F63
            6F6C756D6E6D656D6F733E3C636F6C756D6E746F74616C6D656D6F733E3C5466
            72784D656D6F56696577204C6566743D223134312220546F703D223231222057
            696474683D22383122204865696768743D22323222205265737472696374696F
            6E733D2238222056697369626C653D2266616C7365222053686F7748696E743D
            2266616C73652220416C6C6F7745787072657373696F6E733D2266616C736522
            20466F6E742E436861727365743D22312220466F6E742E436F6C6F723D223022
            20466F6E742E4865696768743D222D31332220466F6E742E4E616D653D224172
            69616C2220466F6E742E5374796C653D223122204672616D652E5479703D2231
            352220476170583D22332220476170593D2233222048416C69676E3D22686143
            656E7465722220506172656E74466F6E743D2266616C7365222056416C69676E
            3D22766143656E7465722220546578743D224772616E6420546F74616C222F3E
            3C2F636F6C756D6E746F74616C6D656D6F733E3C636F726E65726D656D6F733E
            3C546672784D656D6F56696577204C6566743D22302220546F703D2230222057
            696474683D2238303022204865696768743D2232312220526573747269637469
            6F6E733D2238222056697369626C653D2266616C7365222053686F7748696E74
            3D2266616C73652220416C6C6F7745787072657373696F6E733D2266616C7365
            22204672616D652E5479703D2231352220476170583D22332220476170593D22
            33222048416C69676E3D22686143656E746572222056416C69676E3D22766143
            656E7465722220546578743D22222F3E3C546672784D656D6F56696577204C65
            66743D22302220546F703D2230222057696474683D2238303022204865696768
            743D22323122205265737472696374696F6E733D2238222056697369626C653D
            2266616C7365222053686F7748696E743D2266616C73652220416C6C6F774578
            7072657373696F6E733D2266616C736522204672616D652E5479703D22313522
            20476170583D22332220476170593D2233222048416C69676E3D22686143656E
            746572222056416C69676E3D22766143656E7465722220546578743D22222F3E
            3C546672784D656D6F56696577204C6566743D22302220546F703D2230222057
            696474683D223022204865696768743D223022205265737472696374696F6E73
            3D2238222056697369626C653D2266616C7365222053686F7748696E743D2266
            616C73652220416C6C6F7745787072657373696F6E733D2266616C7365222046
            72616D652E5479703D2231352220476170583D22332220476170593D22332220
            48416C69676E3D22686143656E746572222056416C69676E3D22766143656E74
            65722220546578743D22222F3E3C546672784D656D6F56696577204C6566743D
            22302220546F703D223231222057696474683D2238303022204865696768743D
            22323122205265737472696374696F6E733D2238222053686F7748696E743D22
            66616C73652220416C6C6F7745787072657373696F6E733D2266616C73652220
            4672616D652E5479703D2231352220476170583D22332220476170593D223322
            2048416C69676E3D22686143656E746572222056416C69676E3D22766143656E
            7465722220546578743D22222F3E3C2F636F726E65726D656D6F733E3C726F77
            6D656D6F733E3C546672784D656D6F56696577204C6566743D22302220546F70
            3D223432222057696474683D2238303022204865696768743D22323122205265
            737472696374696F6E733D223234222053686F7748696E743D2266616C736522
            20416C6C6F7745787072657373696F6E733D2266616C736522204672616D652E
            5479703D2231352220476170583D22332220476170593D2233222048416C6967
            6E3D22686143656E746572222056416C69676E3D22766143656E746572222054
            6578743D22222F3E3C2F726F776D656D6F733E3C726F77746F74616C6D656D6F
            733E3C546672784D656D6F56696577204C6566743D22302220546F703D223633
            222057696474683D22383122204865696768743D223232222052657374726963
            74696F6E733D2238222056697369626C653D2266616C7365222053686F774869
            6E743D2266616C73652220416C6C6F7745787072657373696F6E733D2266616C
            73652220466F6E742E436861727365743D22312220466F6E742E436F6C6F723D
            22302220466F6E742E4865696768743D222D31332220466F6E742E4E616D653D
            22417269616C2220466F6E742E5374796C653D223122204672616D652E547970
            3D2231352220476170583D22332220476170593D2233222048416C69676E3D22
            686143656E7465722220506172656E74466F6E743D2266616C7365222056416C
            69676E3D22766143656E7465722220546578743D224772616E6420546F74616C
            222F3E3C2F726F77746F74616C6D656D6F733E3C63656C6C66756E6374696F6E
            733E3C6974656D20302F3E3C2F63656C6C66756E6374696F6E733E3C636F6C75
            6D6E736F72743E3C6974656D20302F3E3C2F636F6C756D6E736F72743E3C726F
            77736F72743E3C6974656D20302F3E3C2F726F77736F72743E3C2F63726F7373
            3E}
        end
      end
      object ReportTitle1: TfrxReportTitle
        Height = 22.67718
        Top = 18.89765
        Width = 1046.92981
      end
      object Memo3: TfrxMemoView
        Left = 49.13389
        Top = 15.11812
        Width = 94.48825
        Height = 18.89765
        ShowHint = False
        Memo.UTF8 = (
          #37922#29110#39559#29825#12832#23839)
      end
    end
  end
  object Table1: TTable
    DatabaseName = 'BCDEMOS'
    TableName = 'customer.db'
    Left = 560
    Top = 64
  end
  object dxComponentPrinter1: TdxComponentPrinter
    CurrentLink = advSdBomListFEnPreview
    Version = 0
    OnAfterPreview = dxComponentPrinter1AfterPreview
    Left = 496
    object advstrngrdOrderEnPreview: TdxStringGridReportLink
      Active = True
      Component = advstrngrdOrder
      PrinterPage.DMPaper = 1
      PrinterPage.Footer = 6350
      PrinterPage.Header = 6350
      PrinterPage.Margins.Bottom = 12700
      PrinterPage.Margins.Left = 12700
      PrinterPage.Margins.Right = 12700
      PrinterPage.Margins.Top = 12700
      PrinterPage.PageSize.X = 215900
      PrinterPage.PageSize.Y = 279400
      PrinterPage._dxMeasurementUnits_ = 0
      PrinterPage._dxLastMU_ = 2
      ReportDocument.CreationDate = 40749.6482289815
      BuiltInReportLink = True
    end
    object advstrngrdSearchEnPreview: TdxStringGridReportLink
      Active = True
      Component = advstrngrdSearch
      PrinterPage.DMPaper = 1
      PrinterPage.Footer = 6350
      PrinterPage.Header = 6350
      PrinterPage.Margins.Bottom = 12700
      PrinterPage.Margins.Left = 12700
      PrinterPage.Margins.Right = 12700
      PrinterPage.Margins.Top = 12700
      PrinterPage.PageSize.X = 215900
      PrinterPage.PageSize.Y = 279400
      PrinterPage._dxMeasurementUnits_ = 0
      PrinterPage._dxLastMU_ = 2
      ReportDocument.CreationDate = 40749.6482289815
      BuiltInReportLink = True
    end
    object advSdBomListFEnPreview: TdxStringGridReportLink
      Active = True
      Component = advSdBomListF
      PrinterPage.DMPaper = 1
      PrinterPage.Footer = 6350
      PrinterPage.Header = 6350
      PrinterPage.Margins.Bottom = 12700
      PrinterPage.Margins.Left = 12700
      PrinterPage.Margins.Right = 12700
      PrinterPage.Margins.Top = 12700
      PrinterPage.PageSize.X = 215900
      PrinterPage.PageSize.Y = 279400
      PrinterPage._dxMeasurementUnits_ = 0
      PrinterPage._dxLastMU_ = 2
      ReportDocument.CreationDate = 40749.6482289815
      BuiltInReportLink = True
    end
    object advSdSubBomEnPreview: TdxStringGridReportLink
      Component = advSdSubBom
      PrinterPage.DMPaper = 1
      PrinterPage.Footer = 6350
      PrinterPage.Header = 6350
      PrinterPage.Margins.Bottom = 12700
      PrinterPage.Margins.Left = 12700
      PrinterPage.Margins.Right = 12700
      PrinterPage.Margins.Top = 12700
      PrinterPage.PageSize.X = 215900
      PrinterPage.PageSize.Y = 279400
      PrinterPage._dxMeasurementUnits_ = 0
      PrinterPage._dxLastMU_ = 2
      BuiltInReportLink = True
    end
  end
  object pmBomListF: TPopupMenu
    Left = 528
    Top = 64
    object mniSelect: TMenuItem
      Caption = #34892#36873#25321#27169#24335
      OnClick = mniSelectClick
    end
    object N1: TMenuItem
      Caption = #32534#36753#27169#24335
      OnClick = N1Click
    end
    object pmAutoColWeight: TMenuItem
      Caption = #33258#21160#35843#25972#21015#23485
      OnClick = pmAutoColWeightClick
    end
  end
end
